summaryrefslogtreecommitdiffstats
path: root/builtin.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-12-02 22:12:08 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-12-02 22:12:08 +0000
commitea9db414edd078d8cb5e95a7694df7ae81d6daac (patch)
treec7b349f64d1d648256d4fab1ec50b6b018d7f983 /builtin.h
parentb6f2fbbe62be72e7eb52fda9f5ca5a8838869ae4 (diff)
Clean up implementation of builtin functions.
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