darling-libobjc2/GCKit/cycle.h
theraven 5b1911b4f4 Initial commit of GCKit (moved from Étoilé and the missing 90% mostly implemented). GCKit implements cycle detection on the heap and tracing on the stack and designated heap regions, with support for weak references. It is designed for implementing OS X 10.5-compatible GC semantics.
Although GCKit is mostly finished, it is still not well tested.  It contains bugs, and possibly dragons.  Do not use it.  If you disregard this advice, do not file any bug reports.  If you disregard this instruction, then I will point and laugh at you.
2010-02-02 23:36:38 +00:00

4 lines
109 B
C

void GCScanForCycles(id *loopBuffer, unsigned count);
id GCRetain(id anObject);
void GCRelease(id anObject);