aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/ints.c
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-16 13:43:14 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-16 13:43:14 +0000
commit25222b4581ea55c7546172ef1e9a9ac3d976191b (patch)
treed2d5ce6ee7c65f47b00b26f2f4d769b64b3681cb /runtime/src/ints.c
parent006d465c265246fa84e7926f2f0d3fe0ac19b2e2 (diff)
Make ints GC objects
Diffstat (limited to 'runtime/src/ints.c')
-rw-r--r--runtime/src/ints.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/ints.c b/runtime/src/ints.c
index 550af683..4e385ae2 100644
--- a/runtime/src/ints.c
+++ b/runtime/src/ints.c
@@ -2,9 +2,11 @@
#include "./patio/patio.h"
#include "./alloc.h"
+#include "./gc.h"
#include "./primitives.h"
struct ShedInt {
+ struct ShedGcObjectHeader gc_object_header;
PatioInt value;
};