diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-02 22:12:08 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-02 22:12:08 +0000 |
commit | ea9db414edd078d8cb5e95a7694df7ae81d6daac (patch) | |
tree | c7b349f64d1d648256d4fab1ec50b6b018d7f983 /builtin.h | |
parent | b6f2fbbe62be72e7eb52fda9f5ca5a8838869ae4 (diff) |
Clean up implementation of builtin functions.
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |