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

Function checkvalref

Dependencies/lua/src/ltests.c:355–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354
355static void checkvalref (global_State *g, GCObject *f, const TValue *t) {
356 assert(!iscollectable(t) || (righttt(t) && testobjref(g, f, gcvalue(t))));
357}
358
359
360static void checktable (global_State *g, Table *h) {

Callers 5

checktableFunction · 0.85
checkudataFunction · 0.85
checkCclosureFunction · 0.85
checkLclosureFunction · 0.85
checkrefsFunction · 0.85

Calls 1

testobjrefFunction · 0.85

Tested by

no test coverage detected