aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/builtin.h
blob: 9cb6728444fe656473766cb9d00672093e544bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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[]);

#endif