summaryrefslogtreecommitdiffstats
path: root/builtin.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-12-02 21:25:54 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-12-02 21:25:54 +0000
commitb6f2fbbe62be72e7eb52fda9f5ca5a8838869ae4 (patch)
tree51ed0a8f18a01f68e5979e435bbcb29d75a40193 /builtin.h
parent125e2785025ed1a4363800d712bdf4e782a94cd4 (diff)
Move all the includes one place to the left
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/builtin.h b/builtin.h
index fe2ac6ac..b6c26cda 100644
--- a/builtin.h
+++ b/builtin.h
@@ -1,9 +1,18 @@
#ifndef BUILTIN_H
#define BUILTIN_H
-#include "bytecode.h"
#include "compile.h"
block builtins_bind(block);
+
+typedef void (*cfunction_ptr)(jv input[], jv output[]);
+
+struct cfunction {
+ cfunction_ptr fptr;
+ const char* name;
+ int nargs;
+};
+
+
#endif