Missed a couple things...

This commit is contained in:
Justin Ethier 2016-01-02 22:49:57 -05:00
parent 309fc3dc13
commit de33b567a3
2 changed files with 2 additions and 0 deletions

1
gc.c
View file

@ -480,6 +480,7 @@ size_t gc_allocated_bytes(object obj, gc_free_list *q, gc_free_list *r)
if (t == double_tag) return gc_heap_align(sizeof(double_type));
if (t == port_tag) return gc_heap_align(sizeof(port_type));
if (t == cvar_tag) return gc_heap_align(sizeof(cvar_type));
if (t == mutex_tag) return gc_heap_align(sizeof(mutex_type));
fprintf(stderr, "gc_allocated_bytes: unexpected object %p of type %ld\n", obj, t);
exit(1);

View file

@ -226,6 +226,7 @@
(list 'make-mutex make-mutex)
(list 'mutex-lock! mutex-lock!)
(list 'mutex-unlock! mutex-unlock!)
(list 'mutex? mutex?)
(list 'boolean? boolean?)
(list 'char? char?)
(list 'eof-object? eof-object?)