MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaL_checktype

Function luaL_checktype

Source/Misc/lua/src/lua.c:10358–10361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10356
10357
10358LUALIB_API void luaL_checktype (lua_State *L, int narg, int t) {
10359if (lua_type(L, narg) != t)
10360tag_error(L, narg, t);
10361}
10362
10363
10364LUALIB_API void luaL_checkany (lua_State *L, int narg) {

Callers 15

usb.cFile · 0.85
luaB_setmetatableFunction · 0.85
luaB_setfenvFunction · 0.85
luaB_rawgetFunction · 0.85
luaB_rawsetFunction · 0.85
luaB_nextFunction · 0.85
luaB_pairsFunction · 0.85
ipairsauxFunction · 0.85
luaB_ipairsFunction · 0.85
luaB_loadFunction · 0.85
luaB_unpackFunction · 0.85
db_setfenvFunction · 0.85

Calls 2

lua_typeFunction · 0.85
tag_errorFunction · 0.85

Tested by

no test coverage detected