MCPcopy Create free account
hub / github.com/DFHack/dfhack / luaL_checkany

Function luaL_checkany

depends/lua/src/lauxlib.c:384–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382
383
384LUALIB_API void luaL_checkany (lua_State *L, int arg) {
385 if (lua_type(L, arg) == LUA_TNONE)
386 luaL_argerror(L, arg, "value expected");
387}
388
389
390LUALIB_API const char *luaL_checklstring (lua_State *L, int arg, size_t *len) {

Callers 15

dfhack_onerrorFunction · 0.85
dfhack_errorFunction · 0.85
dfhack_safecallFunction · 0.85
dfhack_curryFunction · 0.85
decode_matinfoFunction · 0.85
dfhack_matinfo_matchesFunction · 0.85
CheckPenMethod · 0.85
checkaddrFunction · 0.85
meta_isvalidFunction · 0.85
meta_isnullFunction · 0.85
meta_pairsFunction · 0.85
luaB_tonumberFunction · 0.85

Calls 2

lua_typeFunction · 0.85
luaL_argerrorFunction · 0.85

Tested by

no test coverage detected