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

Function luaL_checkudata

third-party/lua-5.2.4/src/lauxlib.c:305–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303
304
305LUALIB_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

Callers

nothing calls this directly

Calls 2

luaL_testudataFunction · 0.70
typeerrorFunction · 0.70

Tested by

no test coverage detected