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