| 274 | |
| 275 | |
| 276 | LUAMOD_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 |
nothing calls this directly
no test coverage detected