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

Function luaL_checkany

deps/lua/src/lauxlib.c:152–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151
152LUALIB_API void luaL_checkany (lua_State *L, int narg) {
153 if (lua_type(L, narg) == LUA_TNONE)
154 luaL_argerror(L, narg, "value expected");
155}
156
157
158LUALIB_API const char *luaL_checklstring (lua_State *L, int narg, size_t *len) {

Callers 15

luaB_tonumberFunction · 0.85
luaB_getmetatableFunction · 0.85
luaB_rawequalFunction · 0.85
luaB_rawgetFunction · 0.85
luaB_rawsetFunction · 0.85
luaB_typeFunction · 0.85
luaB_assertFunction · 0.85
luaB_pcallFunction · 0.85
luaB_xpcallFunction · 0.85
luaB_tostringFunction · 0.85
io_typeFunction · 0.85
db_getmetatableFunction · 0.85

Calls 2

lua_typeFunction · 0.85
luaL_argerrorFunction · 0.85

Tested by

no test coverage detected