| 263 | |
| 264 | |
| 265 | LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) { |
| 266 | void *p = luaL_testudata(L, ud, tname); |
| 267 | if (p == NULL) typeerror(L, ud, tname); |
| 268 | return p; |
| 269 | } |
| 270 | |
| 271 | /* }====================================================== */ |
| 272 |
nothing calls this directly
no test coverage detected