From 13b4fc0a1e32008f125f73148d01f12bdac3a80e Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 5 Jun 2018 14:35:02 +0200 Subject: Simplify return type state on call --- src/generator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/generator.h') diff --git a/src/generator.h b/src/generator.h index 1f586c1..082e359 100644 --- a/src/generator.h +++ b/src/generator.h @@ -24,7 +24,7 @@ void gen_const_declaration(); Type gen_function_declaration(const char name[], int return_type, int nb_param); void gen_function_end_declaration(); void gen_function_return(Type expect, Type actual); -int gen_function_call(const char name[], int nb_param); +Type gen_function_call(const char name[], int nb_param); void gen_declaration(const char name[], int type, Scope scope); void gen_check(const char name[], Scope scope); -- cgit v1.2.3