MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaL_checkudata

Function luaL_checkudata

3rd/lua-5.4.3/src/lauxlib.c:345–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344
345LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) {
346 void *p = luaL_testudata(L, ud, tname);
347 luaL_argexpected(L, p != NULL, ud, tname);
348 return p;
349}
350
351/* }====================================================== */
352

Callers

nothing calls this directly

Calls 1

luaL_testudataFunction · 0.85

Tested by

no test coverage detected