MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaL_checkudata

Function luaL_checkudata

third-party/lua-5.3.5/src/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.70
typeerrorFunction · 0.70

Tested by

no test coverage detected