diff --git a/include/cyclone/types.h b/include/cyclone/types.h index bdfc268d..b27d99c0 100644 --- a/include/cyclone/types.h +++ b/include/cyclone/types.h @@ -315,7 +315,7 @@ void *gc_alloc(gc_heap_root * h, size_t size, char *obj, gc_thread_data * thd, void *gc_alloc_bignum(gc_thread_data *data); size_t gc_allocated_bytes(object obj, gc_free_list * q, gc_free_list * r); gc_heap *gc_heap_last(gc_heap * h); -size_t gc_heap_total_size(gc_heap * h); +//size_t gc_heap_total_size(gc_heap * h); //size_t gc_heap_total_free_size(gc_heap *h); //size_t gc_collect(gc_heap *h, size_t *sum_freed); //void gc_mark(gc_heap *h, object obj); diff --git a/runtime.c b/runtime.c index c87eb639..b9f99882 100644 --- a/runtime.c +++ b/runtime.c @@ -259,6 +259,10 @@ static bool set_insert(ck_hs_t * hs, const void *value) // End supporting functions +/** + * @brief Perform one-time heap initializations for the program + * @param heap_size Unused + */ void gc_init_heap(long heap_size) { if (!ck_hs_init(&symbol_table,