summaryrefslogtreecommitdiffstats
path: root/bytecode.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 /bytecode.h
parent125e2785025ed1a4363800d712bdf4e782a94cd4 (diff)
Move all the includes one place to the left
Diffstat (limited to 'bytecode.h')
-rw-r--r--bytecode.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/bytecode.h b/bytecode.h
index 011745c0..e84f1387 100644
--- a/bytecode.h
+++ b/bytecode.h
@@ -4,14 +4,7 @@
#include "jv.h"
#include "opcode.h"
-
-typedef void (*cfunction_ptr)(jv input[], jv output[]);
-
-struct cfunction {
- cfunction_ptr fptr;
- const char* name;
- int nargs;
-};
+#include "builtin.h"
#define MAX_CFUNCTION_ARGS 10
struct symbol_table {