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

Function luaL_checktype

xrepo/packages/l/luau/port/luau/VM/src/laux.cpp:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void luaL_checktype(lua_State* L, int narg, int t)
150{
151 if (lua_type(L, narg) != t)
152 tag_error(L, narg, t);
153}
154
155void luaL_checkany(lua_State* L, int narg)
156{

Callers 15

cocreateFunction · 0.70
os_timeFunction · 0.70
foreachiFunction · 0.70
foreachFunction · 0.70
maxnFunction · 0.70
getnFunction · 0.70
tinsertFunction · 0.70
tremoveFunction · 0.70
tmoveFunction · 0.70
tconcatFunction · 0.70
tunpackFunction · 0.70
tsortFunction · 0.70

Calls 2

lua_typeFunction · 0.70
tag_errorFunction · 0.70

Tested by

no test coverage detected