MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaL_setmetatable

Function luaL_setmetatable

freebsd/contrib/openzfs/module/lua/lauxlib.c:244–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242
243
244LUALIB_API void luaL_setmetatable (lua_State *L, const char *tname) {
245 luaL_getmetatable(L, tname);
246 lua_setmetatable(L, -2);
247}
248
249
250LUALIB_API void *luaL_testudata (lua_State *L, int ud, const char *tname) {

Callers

nothing calls this directly

Calls 1

lua_setmetatableFunction · 0.70

Tested by

no test coverage detected