Small bugfixes

This commit is contained in:
Artem Serebriyskiy 2013-11-17 04:08:58 +04:00
commit 0c6263a0c2
2 changed files with 6 additions and 2 deletions

View file

@ -76,7 +76,7 @@ typedef struct swig_elua_entry {
#define lua_pushrotable(L,p)\
lua_newtable(L);\
SWIG_Lua_elua_emulate_register(L,p);
SWIG_Lua_elua_emulate_register(L,(swig_elua_entry*)(p));
#define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
LSTRKEY(B), {LUA_TUSERDATA, { .userdata={0,0,(void*)(C),&D} } }