| 442 | |
| 443 | |
| 444 | LUAMOD_API int luaopen_table (lua_State *L) { |
| 445 | luaL_newlib(L, tab_funcs); |
| 446 | #if defined(LUA_COMPAT_UNPACK) |
| 447 | /* _G.unpack = table.unpack */ |
| 448 | lua_getfield(L, -1, "unpack"); |
| 449 | lua_setglobal(L, "unpack"); |
| 450 | #endif |
| 451 | return 1; |
| 452 | } |
| 453 | |
| 454 | } // end NS_SLUA |
nothing calls this directly
no test coverage detected