blob: 5fe77c926244055e4e29aa18c6552da9378796c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef _BUILTIN_H_
#define _BUILTIN_H_
#include "symbol.h"
struct builtin_fn {
const char *name;
struct symbol *ret_type;
unsigned int variadic:1;
struct symbol *args[6];
struct symbol *_args_null_tail;
struct symbol_op *op;
};
void declare_builtins(int stream, const struct builtin_fn tbl[]);
extern struct symbol_op generic_int_op;
#endif
|