| 2663 | } |
| 2664 | |
| 2665 | COMPAT53_API void luaL_setmetatable(lua_State *L, const char *tname) { |
| 2666 | luaL_checkstack(L, 1, "not enough stack slots"); |
| 2667 | luaL_getmetatable(L, tname); |
| 2668 | lua_setmetatable(L, -2); |
| 2669 | } |
| 2670 | |
| 2671 | COMPAT53_API void *luaL_testudata(lua_State *L, int i, const char *tname) { |
| 2672 | void *p = lua_touserdata(L, i); |
nothing calls this directly
no test coverage detected