MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / luaopen_table

Function luaopen_table

ThirdParty/lua/lua/ltablib.c:348–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346
347
348LUAMOD_API int luaopen_table (lua_State *L) {
349 luaL_newlib(L, tab_funcs);
350#if defined(LUA_COMPAT_UNPACK)
351 /* _G.unpack = table.unpack */
352 lua_getfield(L, -1, "unpack");
353 lua_setglobal(L, "unpack");
354#endif
355 return 1;
356}
357

Callers

nothing calls this directly

Calls 2

lua_getfieldFunction · 0.85
lua_setglobalFunction · 0.85

Tested by

no test coverage detected