MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / gc_printobj

Function gc_printobj

Dependencies/lua/src/ltests.c:923–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

921
922
923static int gc_printobj (lua_State *L) {
924 TValue *o;
925 luaL_checkany(L, 1);
926 o = obj_at(L, 1);
927 if (!iscollectable(o))
928 printf("no collectable\n");
929 else {
930 GCObject *obj = gcvalue(o);
931 printobj(G(L), obj);
932 printf("\n");
933 }
934 return 0;
935}
936
937
938static int gc_state (lua_State *L) {

Callers

nothing calls this directly

Calls 2

luaL_checkanyFunction · 0.85
printobjFunction · 0.85

Tested by

no test coverage detected