]> git.lizzy.rs Git - nothing.git/blob - src/script/gc.h
Implement gc_add_expr
[nothing.git] / src / script / gc.h
1 #ifndef GC_H_
2 #define GC_H_
3
4 typedef struct Gc Gc;
5
6 Gc *create_gc(void);
7 void destroy_gc(Gc *gc);
8
9 int gc_add_expr(Gc *gc, struct Expr expr);
10 void gc_collect(Gc *gc, struct Expr root);
11
12 #endif  // GC_H_