You are probably missing a lua_newtable or a lua_newuserdata before the luaL_getmetatable . Also the stack index in the last lua_rawseti should probably be -2 .
確定! 回上一頁