MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / luaL_checkudata

Function luaL_checkudata

ThirdParty/lua/lua/lauxlib.c:322–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321
322LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) {
323 void *p = luaL_testudata(L, ud, tname);
324 if (p == NULL) typeerror(L, ud, tname);
325 return p;
326}
327
328/* }====================================================== */
329

Callers 1

CheckUserDataFunction · 0.85

Calls 2

luaL_testudataFunction · 0.85
typeerrorFunction · 0.85

Tested by

no test coverage detected