diff options
author | chai <chaifix@163.com> | 2018-05-18 14:39:38 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-18 14:39:38 +0800 |
commit | 1b773ad2c250e09c09c065eb3eec64bfebde09ca (patch) | |
tree | b3f1f367694d5f86cc0caa7f4eea2e6a1d3424c5 /src/3rdparty/luax/luax.h | |
parent | 91a592da979827b1735901388dba8712e6e3ecf3 (diff) |
修改userdata创建方式
Diffstat (limited to 'src/3rdparty/luax/luax.h')
-rw-r--r-- | src/3rdparty/luax/luax.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/3rdparty/luax/luax.h b/src/3rdparty/luax/luax.h index 3816430..49036b9 100644 --- a/src/3rdparty/luax/luax.h +++ b/src/3rdparty/luax/luax.h @@ -158,11 +158,6 @@ inline void* luax_newinstance(lua_State* L, const char* tname, int size) { void* p = lua_newuserdata(L, size); - //u->data = data; - //u->flags = flags; - //u->own = own; - - // luaL_getmetatable(L, tname) or luaL_newmetatable(L, tname); lua_setmetatable(L, -2); |