summaryrefslogtreecommitdiffstats
path: root/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/builtin.h b/builtin.h
index fdbce92a..63562635 100644
--- a/builtin.h
+++ b/builtin.h
@@ -1,20 +1,11 @@
#ifndef BUILTIN_H
#define BUILTIN_H
+#include "bytecode.h"
#include "compile.h"
int builtins_bind(block*);
-
-typedef void (*cfunction_ptr)(void);
-
-struct cfunction {
- cfunction_ptr fptr;
- const char* name;
- int nargs;
-};
-
-
jv cfunction_invoke(struct cfunction* function, jv input[]);