| 331 | |
| 332 | |
| 333 | LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) { |
| 334 | void *p = luaL_testudata(L, ud, tname); |
| 335 | if (p == NULL) typeerror(L, ud, tname); |
| 336 | return p; |
| 337 | } |
| 338 | |
| 339 | /* }====================================================== */ |
| 340 |
nothing calls this directly
no test coverage detected