| 11543 | |
| 11544 | |
| 11545 | static int db_getmetatable (lua_State *L) { |
| 11546 | luaL_checkany(L, 1); |
| 11547 | if (!lua_getmetatable(L, 1)) { |
| 11548 | lua_pushnil(L); /* no metatable */ |
| 11549 | } |
| 11550 | return 1; |
| 11551 | } |
| 11552 | |
| 11553 | |
| 11554 | static int db_setmetatable (lua_State *L) { |
nothing calls this directly
no test coverage detected