From 1be344574cb24e30e13fdc23b2cece65b14ff199 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 9 Nov 2008 12:10:09 +0000 Subject: splitted function.c into function.c and functions.c --- src/core/function.h | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'src/core/function.h') diff --git a/src/core/function.h b/src/core/function.h index 2e3e72e..c07f609 100644 --- a/src/core/function.h +++ b/src/core/function.h @@ -35,19 +35,11 @@ #ifndef FUNCTION_H #define FUNCTION_H -#include "token.h" +typedef struct { + char *c_name; +} Function; -#include "interpret.h" -#include "../data/stack.h" - -void function_process(Interpret *p_interp, Token *p_token_op, - Token *p_token_op2, Stack *p_stack_args, int i_args); -_Bool function_is_buildin(Token *p_token_ident); -void function_process_buildin(Interpret *p_interpret, - Token *p_token_ident, - Stack *p_stack_args); -_Bool function_is_self_defined(Interpret *p_interpret); -void function_process_self_defined(Interpret *p_interpret, - Token *p_token_ident); +Function* function_new(); +void function_delete(Function *p_function); #endif /* FUNCTION_H */ -- cgit v1.2.3