| 439 | |
| 440 | |
| 441 | LUAMOD_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 |
nothing calls this directly
no test coverage detected