diff --git a/hash_table.h b/hash_table.h index 676b8d5..cf57eb3 100644 --- a/hash_table.h +++ b/hash_table.h @@ -126,18 +126,9 @@ struct PREFIX(_table_cell_struct) *PREFIX(alloc_cells)(PREFIX(_table) *table, in # endif } -static void PREFIX(delete_table)(void *table, void *unused) -{ - fprintf(stderr, "finalizing table %p\n", table); -} - PREFIX(_table) *PREFIX(_create)(uint32_t capacity) { PREFIX(_table) *table = CALLOC(1, sizeof(PREFIX(_table))); - fprintf(stderr, "Allocated hash table %p \n", table); -#ifdef ENABLE_GC - GC_REGISTER_FINALIZER_NO_ORDER(table, PREFIX(delete_table), 0, 0, 0); -#endif # ifndef MAP_TABLE_NO_LOCK INIT_LOCK(table->lock); # endif