summaryrefslogtreecommitdiffstats
path: root/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin.h b/builtin.h
index b6c26cda..538a1391 100644
--- a/builtin.h
+++ b/builtin.h
@@ -6,7 +6,7 @@
block builtins_bind(block);
-typedef void (*cfunction_ptr)(jv input[], jv output[]);
+typedef void (*cfunction_ptr)(void);
struct cfunction {
cfunction_ptr fptr;
@@ -15,4 +15,7 @@ struct cfunction {
};
+jv cfunction_invoke(struct cfunction* function, jv input[]);
+
+
#endif