Norminette ready Garbage Collector library for 42 projects
t_gcan gc;
gc_init(&gc);ptr = gc_malloc(&gc, sizeof(struct mystruct));// before => ptr != NULL
gc_free(&gc, (void **)&ptr);
// after => ptr == NULLgc_clean(&gc);| Name | Name | Last commit date | ||
|---|---|---|---|---|
Norminette ready Garbage Collector library for 42 projects
t_gcan gc;
gc_init(&gc);ptr = gc_malloc(&gc, sizeof(struct mystruct));// before => ptr != NULL
gc_free(&gc, (void **)&ptr);
// after => ptr == NULLgc_clean(&gc);