MCPcopy Create free account
hub / github.com/crownengine/crown / luaL_checktype

Function luaL_checktype

3rdparty/lua/src/lauxlib.c:146–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145
146LUALIB_API void luaL_checktype (lua_State *L, int narg, int t) {
147 if (lua_type(L, narg) != t)
148 tag_error(L, narg, t);
149}
150
151
152LUALIB_API void luaL_checkany (lua_State *L, int narg) {

Callers 15

luaB_setmetatableFunction · 0.70
luaB_setfenvFunction · 0.70
luaB_rawgetFunction · 0.70
luaB_rawsetFunction · 0.70
luaB_nextFunction · 0.70
luaB_pairsFunction · 0.70
ipairsauxFunction · 0.70
luaB_ipairsFunction · 0.70
luaB_loadFunction · 0.70
luaB_unpackFunction · 0.70
str_dumpFunction · 0.70
foreachiFunction · 0.70

Calls 2

lua_typeFunction · 0.70
tag_errorFunction · 0.70

Tested by

no test coverage detected