diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-08-23 22:18:16 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-08-23 22:18:16 +0200 |
commit | ba57b2de9e84af94c68a94a5d0be08d5e25ab921 (patch) | |
tree | 40b8d3278d08214f1eba3a74eb2eebe033fb906d /inter_builtins.h | |
parent | cac651cd88f8da1e5957b0cc13fa25d79e1887fc (diff) |
Add builtin_define
Diffstat (limited to 'inter_builtins.h')
-rw-r--r-- | inter_builtins.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inter_builtins.h b/inter_builtins.h index 6dc935d..c9a4bdc 100644 --- a/inter_builtins.h +++ b/inter_builtins.h @@ -1,8 +1,7 @@ #pragma once #include "ast.h" - -typedef struct InterRet InterRet; +#include "interpreter.h" InterRet builtin_do(InterState *is,int nargs,AST **args); InterRet builtin_print(InterState *is,int nargs,AST **args); @@ -11,3 +10,4 @@ InterRet builtin_difference(InterState *is,int nargs,AST **args); InterRet builtin_product(InterState *is,int nargs,AST **args); InterRet builtin_quotient(InterState *is,int nargs,AST **args); InterRet builtin_remainder(InterState *is,int nargs,AST **args); +InterRet builtin_define(InterState *is,int nargs,AST **args); |