MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / luaL_checkudata

Function luaL_checkudata

source/extern/lua/lauxlib.c:333–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331
332
333LUALIB_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

Callers

nothing calls this directly

Calls 2

luaL_testudataFunction · 0.85
typeerrorFunction · 0.85

Tested by

no test coverage detected