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

Function luaopen_table

third-party/lua-5.2.4/src/ltablib.c:276–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275
276LUAMOD_API int luaopen_table (lua_State *L) {
277 luaL_newlib(L, tab_funcs);
278#if defined(LUA_COMPAT_UNPACK)
279 /* _G.unpack = table.unpack */
280 lua_getfield(L, -1, "unpack");
281 lua_setglobal(L, "unpack");
282#endif
283 return 1;
284}
285

Callers

nothing calls this directly

Calls 2

lua_getfieldFunction · 0.70
lua_setglobalFunction · 0.70

Tested by

no test coverage detected