MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / luaL_checktype

Function luaL_checktype

deps/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.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
str_dumpFunction · 0.85
foreachiFunction · 0.85

Calls 2

lua_typeFunction · 0.85
tag_errorFunction · 0.85

Tested by

no test coverage detected