diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-02 21:25:54 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-02 21:25:54 +0000 |
commit | b6f2fbbe62be72e7eb52fda9f5ca5a8838869ae4 (patch) | |
tree | 51ed0a8f18a01f68e5979e435bbcb29d75a40193 /builtin.h | |
parent | 125e2785025ed1a4363800d712bdf4e782a94cd4 (diff) |
Move all the includes one place to the left
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,9 +1,18 @@ #ifndef BUILTIN_H #define BUILTIN_H -#include "bytecode.h" #include "compile.h" block builtins_bind(block); + +typedef void (*cfunction_ptr)(jv input[], jv output[]); + +struct cfunction { + cfunction_ptr fptr; + const char* name; + int nargs; +}; + + #endif |