aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
new file mode 100644
index 00000000..d0d3fd2c
--- /dev/null
+++ b/builtin.h
@@ -0,0 +1,15 @@
+#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;
+};
+
+#endif