| 2425 | |
| 2426 | |
| 2427 | LUA_API void lua_createtable (lua_State *L, int narray, int nrec) { |
| 2428 | lua_lock(L); |
| 2429 | luaC_checkGC(L); |
| 2430 | sethvalue(L, L->top, luaH_new(L, narray, nrec)); |
| 2431 | api_incr_top(L); |
| 2432 | lua_unlock(L); |
| 2433 | } |
| 2434 | |
| 2435 | |
| 2436 | LUA_API int lua_getmetatable (lua_State *L, int objindex) { |
no test coverage detected