lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


If you're targeting Lua 5.2, you can use luaL_setmetatable instead of
luaL_getmetatable+lua_setmetatable and define luaL_setmetatable if
LUA_VERSION_NUM < 502.