MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / luaL_checktype

Function luaL_checktype

xrepo/packages/l/lua/port/lua/src/lauxlib.c:390–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388
389
390LUALIB_API void luaL_checktype (lua_State *L, int arg, int t) {
391 if (l_unlikely(lua_type(L, arg) != t))
392 tag_error(L, arg, t);
393}
394
395
396LUALIB_API void luaL_checkany (lua_State *L, int arg) {

Callers 15

luaB_tonumberFunction · 0.70
luaB_setmetatableFunction · 0.70
luaB_rawgetFunction · 0.70
luaB_rawsetFunction · 0.70
luaB_nextFunction · 0.70
luaB_loadFunction · 0.70
luaB_xpcallFunction · 0.70
str_dumpFunction · 0.70
luaB_cocreateFunction · 0.70
checktabFunction · 0.70
sortFunction · 0.70
os_timeFunction · 0.70

Calls 2

lua_typeFunction · 0.70
tag_errorFunction · 0.70

Tested by

no test coverage detected