mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 13:49:16 +02:00
Missed a couple things...
This commit is contained in:
parent
309fc3dc13
commit
de33b567a3
2 changed files with 2 additions and 0 deletions
1
gc.c
1
gc.c
|
@ -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);
|
||||
|
|
|
@ -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?)
|
||||
|
|
Loading…
Add table
Reference in a new issue