summaryrefslogtreecommitdiffstats
path: root/gc.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-09 13:44:39 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-09 13:44:39 -0800
commit357121301094005f6c56471fb18f9ff1b6bc8d13 (patch)
treee9b4d47ace9622de678f5c863e473bfa00fd721f /gc.h
parent10e4d4687df9a41a017fc438bc16407265dfe281 (diff)
downloadtxr-357121301094005f6c56471fb18f9ff1b6bc8d13.tar.gz
txr-357121301094005f6c56471fb18f9ff1b6bc8d13.tar.bz2
txr-357121301094005f6c56471fb18f9ff1b6bc8d13.zip
First cut at hash tables. One known problem is allocation during gc,
due to use of boxed numbers for vector access.
Diffstat (limited to 'gc.h')
-rw-r--r--gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.h b/gc.h
index 664b079c..2db8d9f8 100644
--- a/gc.h
+++ b/gc.h
@@ -32,3 +32,4 @@ obj_t *make_obj(void);
void gc(void);
int gc_state(int);
void gc_mark(obj_t *);
+int gc_is_reachable(obj_t *);