aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'clox/src/memory.h')
-rw-r--r--clox/src/memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clox/src/memory.h b/clox/src/memory.h
index f7946f6..b1a8327 100644
--- a/clox/src/memory.h
+++ b/clox/src/memory.h
@@ -19,6 +19,9 @@
reallocate(pointer, sizeof(type) * (oldCount), 0)
void *reallocate(void *pointer, size_t oldSize, size_t newSize);
+void markObject(Obj *object);
+void markValue(Value value);
+void collectGarbage();
void freeObjects();
#endif