Clean up implementation of builtin functions.
This commit is contained in:
1 parent
b6f2fbbe62
commit
ea9db414ed
4 files changed
+163
-171
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user