| 303 | |
| 304 | |
| 305 | LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) { |
| 306 | void *p = luaL_testudata(L, ud, tname); |
| 307 | if (p == NULL) typeerror(L, ud, tname); |
| 308 | return p; |
| 309 | } |
| 310 | |
| 311 | /* }====================================================== */ |
| 312 |
nothing calls this directly
no test coverage detected