]> git.lizzy.rs Git - nothing.git/blob - src/ebisp/gc.h
(#893) Remove source_code from Script
[nothing.git] / src / ebisp / gc.h
1 #ifndef GC_H_
2 #define GC_H_
3
4 #include "expr.h"
5
6 typedef struct Gc Gc;
7
8 Gc *create_gc(void);
9 void destroy_gc(Gc *gc);
10
11 int gc_add_expr(Gc *gc, struct Expr expr);
12 void gc_collect(Gc *gc, struct Expr root);
13 void gc_inspect(const Gc *gc);
14
15 #endif  // GC_H_