From 4543c3ba3222d47780ad3e091cfe6f3098cc2bca Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 6 Sep 2020 21:56:20 +0200 Subject: Stacked --- src/u_vars.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/u_vars.h') diff --git a/src/u_vars.h b/src/u_vars.h index 0d83b4b..fbdaffc 100644 --- a/src/u_vars.h +++ b/src/u_vars.h @@ -15,7 +15,13 @@ #include "s_struct.h" -char *u_get_cstm_vr(const char varname[], t_msh *msh); -char *u_get_var_value(const char varname[], t_msh *msh); +void u_get_custom_var(char str[], + const char varname[], + size_t dstsize, + t_msh *msh); +void u_get_var_value(char str[], + const char varname[], + size_t dstsize, + t_msh *msh); #endif -- cgit v1.2.3 From 6e74d376f1a888f4730b9fa39df1b34b251eb3f5 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 11 Sep 2020 17:45:49 +0200 Subject: Aliases list in progress --- src/u_vars.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/u_vars.h') diff --git a/src/u_vars.h b/src/u_vars.h index fbdaffc..27c975f 100644 --- a/src/u_vars.h +++ b/src/u_vars.h @@ -13,6 +13,8 @@ #ifndef U_VARS_H #define U_VARS_H +#include + #include "s_struct.h" void u_get_custom_var(char str[], -- cgit v1.2.3 From ca2e36781039eb7e9901ccde395600e7af87ff4f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 15 Sep 2020 19:59:41 +0200 Subject: Huge fixes and stack stuff --- src/u_vars.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/u_vars.h') diff --git a/src/u_vars.h b/src/u_vars.h index 27c975f..c76518e 100644 --- a/src/u_vars.h +++ b/src/u_vars.h @@ -13,6 +13,7 @@ #ifndef U_VARS_H #define U_VARS_H +#include #include #include "s_struct.h" @@ -21,7 +22,7 @@ void u_get_custom_var(char str[], const char varname[], size_t dstsize, t_msh *msh); -void u_get_var_value(char str[], +uint8_t u_get_var_value(char str[], const char varname[], size_t dstsize, t_msh *msh); -- cgit v1.2.3