From ba57b2de9e84af94c68a94a5d0be08d5e25ab921 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 23 Aug 2016 22:18:16 +0200 Subject: Add builtin_define --- inter_builtins.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inter_builtins.h') 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); -- cgit v1.2.3-70-g09d2