21 lines
290 B
C
21 lines
290 B
C
|
#ifndef RZ_FUN_H
|
||
|
#define RZ_FUN_H
|
||
|
|
||
|
#include "commons.h"
|
||
|
#include "program.h"
|
||
|
#include "err.h"
|
||
|
|
||
|
struct sym;
|
||
|
|
||
|
typedef struct {
|
||
|
program_t program;
|
||
|
struct sym* sym;
|
||
|
struct tysy* tysy;
|
||
|
} fun_t;
|
||
|
|
||
|
void fun_init(fun_t* fun, struct tysy* tysy, err_t* err);
|
||
|
void fun_free(fun_t* fun);
|
||
|
|
||
|
|
||
|
#endif
|