~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/disorder
[disorder]
/
lib
/
mem.c
diff --git
a/lib/mem.c
b/lib/mem.c
index
7f14fd9
..
22b7228
100644
(file)
--- a/
lib/mem.c
+++ b/
lib/mem.c
@@
-72,7
+72,11
@@
void mem_init(void) {
do_free = free;
} else {
GC_init();
+#ifdef HAVE_GC_GET_ALL_INTERIOR_POINTERS
+ assert(GC_get_all_interior_pointers());
+#else
assert(GC_all_interior_pointers);
+#endif
}
#endif
}