| 346 | |
| 347 | |
| 348 | LUAMOD_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 |
nothing calls this directly
no test coverage detected