#ifndef CGEN_H #define CGEN_H #include "parse.h" #include "storage.h" struct cgen { const struct cgen_drv *drv; const struct fn *fn; struct fn_cgen *fnc; struct cgen_prv *p; }; int cgen(const struct ast *ast, struct cgen *c); int cgen_param(const struct fn *fn, const struct stentry *e); int cgen_global(const struct fn *fn, const struct stentry *e); void cgen_free(struct cgen *c); #endif