MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / luaL_checkany

Function luaL_checkany

other_src/lua/src/lauxlib.cpp:177–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175
176
177LUALIB_API void luaL_checkany (lua_State *L, int narg) {
178 if (lua_type(L, narg) == LUA_TNONE)
179 luaL_argerror(L, narg, "value expected");
180}
181
182
183LUALIB_API const char *luaL_checklstring (lua_State *L, int narg, size_t *len) {

Callers 15

io_typeFunction · 0.70
db_getmetatableFunction · 0.70
db_getfenvFunction · 0.70
db_setlocalFunction · 0.70
db_setupvalueFunction · 0.70
luaB_tonumberFunction · 0.70
luaB_getmetatableFunction · 0.70
luaB_rawequalFunction · 0.70
luaB_rawgetFunction · 0.70
luaB_rawsetFunction · 0.70
luaB_typeFunction · 0.70
luaB_assertFunction · 0.70

Calls 2

lua_typeFunction · 0.70
luaL_argerrorFunction · 0.70

Tested by

no test coverage detected