From Lua 5.2: Add luaL_setmetatable().

Contributed by François Perrad.
This commit is contained in:
Mike Pall
2017-04-07 12:38:05 +02:00
parent cde968f91f
commit 2b8de8cfc6
3 changed files with 8 additions and 2 deletions

View File

@@ -89,6 +89,7 @@ LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname,
int sizehint);
LUALIB_API void *(luaL_testudata) (lua_State *L, int ud, const char *tname);
LUALIB_API void (luaL_setmetatable) (lua_State *L, const char *tname);
/*