From 004eef9a3fd3403d6634ca658336d9a1e9766685 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 27 Jul 2020 21:19:29 +0200 Subject: In progress --- src/u_vars.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/u_vars.c') diff --git a/src/u_vars.c b/src/u_vars.c index 3f3a1a5..2b7fc4a 100644 --- a/src/u_vars.c +++ b/src/u_vars.c @@ -123,11 +123,11 @@ static char } /* -** char * -** subst_var_value(const char varname[], const t_msh *msh); +** char* +** get_var_value(const char varname[], t_msh *msh); ** ** DESCRIPTION -** The subst_var_value() function returns +** The get_var_value() function returns ** a heap-allocated, null-terminated string ** that may later be free'd containing the ** value of the variable varname[] including @@ -136,8 +136,8 @@ static char */ char - *subst_var_value(const char varname[], - t_msh *msh) + *get_var_value(const char varname[], + t_msh *msh) { /* TODO: check behaviour on empty vars -> "QWE=" */ /* TODO: add support for global variables -> "$hey $nigga..." */ -- cgit v1.2.3