MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / luaG_forerror

Function luaG_forerror

xrepo/packages/l/lua/port/lua/src/ldebug.c:752–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750
751
752l_noret luaG_forerror (lua_State *L, const TValue *o, const char *what) {
753 luaG_runerror(L, "bad 'for' %s (number expected, got %s)",
754 what, luaT_objtypename(L, o));
755}
756
757
758l_noret luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2) {

Callers 3

luaV_prepareFORNFunction · 0.85
forlimitFunction · 0.85
forprepFunction · 0.85

Calls 2

luaG_runerrorFunction · 0.85
luaT_objtypenameFunction · 0.70

Tested by

no test coverage detected