Clean up implementation of builtin functions.

This commit is contained in:
Stephen Dolan committed 2012-12-02 22:12:08 +00:00
1 parent b6f2fbbe62
commit ea9db414ed
4 files changed
+163 -171

No files matched your search

+4 -1
View File
@@ -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