File: builtin.h

package info (click to toggle)
sparse 0.6.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,868 kB
  • sloc: ansic: 46,050; sh: 614; python: 301; perl: 293; makefile: 279
file content (19 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (2)
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