forked from enlightenment/efl
parent
99af748e4b
commit
81f1f5db17
|
@ -615,7 +615,7 @@ _lua_buffer_push(lua_State *L, Buffer *buf)
|
|||
Buffer **ptr;
|
||||
|
||||
lua_getglobal(L, buf->name);//+1
|
||||
ptr = lua_newuserdata(L, sizeof(Buffer **));//+1
|
||||
ptr = lua_newuserdata(L, sizeof(Buffer *));//+1
|
||||
*ptr = buf;
|
||||
luaL_getmetatable(L, _lua_buffer_meta);//+1
|
||||
lua_setmetatable(L, -2);//-1
|
||||
|
|
Loading…
Reference in New Issue