]> git.lizzy.rs Git - nothing.git/blob - src/script/gc.h
(#326) error as struct 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 void gc_inspect(const Gc *gc);
12
13 #endif  // GC_H_