MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaG_typeerror

Function luaG_typeerror

extlibs/lua/src/ldebug.c:696–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694
695
696l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
697 const char *t = luaT_objtypename(L, o);
698 luaG_runerror(L, "attempt to %s a %s value%s", op, t, varinfo(L, o));
699}
700
701
702l_noret luaG_forerror (lua_State *L, const TValue *o, const char *what) {

Callers 6

luaV_finishgetFunction · 0.85
luaV_finishsetFunction · 0.85
luaV_objlenFunction · 0.85
luaG_concaterrorFunction · 0.85
luaG_opinterrorFunction · 0.85
luaD_tryfuncTMFunction · 0.85

Calls 3

luaT_objtypenameFunction · 0.85
luaG_runerrorFunction · 0.85
varinfoFunction · 0.85

Tested by

no test coverage detected