diff options
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -1,20 +1,11 @@ #ifndef BUILTIN_H #define BUILTIN_H +#include "bytecode.h" #include "compile.h" int builtins_bind(block*); - -typedef void (*cfunction_ptr)(void); - -struct cfunction { - cfunction_ptr fptr; - const char* name; - int nargs; -}; - - jv cfunction_invoke(struct cfunction* function, jv input[]); |