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