marCsweep/gc.h

13 lines
291 B
C

#ifndef GC_H
#define GC_H
// Marks references that are still in use
void mark(struct virtualMachine *vm);
// Deletes references that are no longer in use
void sweep(struct virtualMachine *vm);
// Marks and Sweeps all references
void collect(struct virtualMachine *vm);
#endif /* GC_H */