MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / luaL_checktype

Function luaL_checktype

lua/lauxlib.c:178–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177
178LUALIB_API void luaL_checktype (lua_State *L, int narg, int t) {
179 if (lua_type(L, narg) != t)
180 tag_error(L, narg, t);
181}
182
183
184LUALIB_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
dbconsumer_getargsFunction · 0.85

Calls 2

lua_typeFunction · 0.85
tag_errorFunction · 0.85

Tested by

no test coverage detected