From 3391c15885c4c7c80c6ad17b027956799a9b0be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= Date: Fri, 6 Sep 2024 16:28:19 +0200 Subject: [PATCH] normed: normed sources files and started the app folder --- includes/app/signal_handler.h | 2 +- includes/app/state.h | 4 ++-- sources/_env_norm_helper.c | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/includes/app/signal_handler.h b/includes/app/signal_handler.h index 03d353aa..ca649f18 100644 --- a/includes/app/signal_handler.h +++ b/includes/app/signal_handler.h @@ -6,7 +6,7 @@ /* By: maiboyer +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/02 13:20:25 by maiboyer #+# #+# */ -/* Updated: 2024/07/10 21:03:38 by maiboyer ### ########.fr */ +/* Updated: 2024/09/06 15:32:16 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ diff --git a/includes/app/state.h b/includes/app/state.h index 79a0d40c..9a9fe445 100644 --- a/includes/app/state.h +++ b/includes/app/state.h @@ -6,7 +6,7 @@ /* By: maiboyer +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/02 15:49:56 by maiboyer #+# #+# */ -/* Updated: 2024/08/03 15:51:25 by maiboyer ### ########.fr */ +/* Updated: 2024/09/06 15:33:05 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,7 +19,7 @@ # include "me/types.h" # include "ast/ast.h" -typedef struct s_state t_state; +typedef struct s_state t_state; struct s_state { diff --git a/sources/_env_norm_helper.c b/sources/_env_norm_helper.c index ce26ee74..44087780 100644 --- a/sources/_env_norm_helper.c +++ b/sources/_env_norm_helper.c @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/09/06 15:39:47 by rparodi #+# #+# */ -/* Updated: 2024/09/06 15:40:16 by rparodi ### ########.fr */ +/* Updated: 2024/09/06 16:24:40 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -22,6 +22,9 @@ #include "me/vec/vec_str.h" #include +t_error _build_envp_iterator(t_usize idx, const t_str *key, t_str *val, + void *ctx); + t_error build_envp(\ t_hashmap_env *envs, t_hashmap_env *tmp_vars, t_vec_str *envp) {