MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaopen_table

Function luaopen_table

third-party/lua-5.3.5/src/ltablib.c:441–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439
440
441LUAMOD_API int luaopen_table (lua_State *L) {
442 luaL_newlib(L, tab_funcs);
443#if defined(LUA_COMPAT_UNPACK)
444 /* _G.unpack = table.unpack */
445 lua_getfield(L, -1, "unpack");
446 lua_setglobal(L, "unpack");
447#endif
448 return 1;
449}
450

Callers

nothing calls this directly

Calls 2

lua_getfieldFunction · 0.70
lua_setglobalFunction · 0.70

Tested by

no test coverage detected