feat: adding vec_* (compiling)

This commit is contained in:
Raphael 2024-09-19 14:36:27 +02:00
parent 7b5a4aafa3
commit 93b22e3ed9
4 changed files with 8 additions and 8 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/04 18:46:53 by maiboyer #+# #+# */ /* Created: 2023/12/04 18:46:53 by maiboyer #+# #+# */
/* Updated: 2024/09/19 12:25:59 by rparodi ### ########.fr */ /* Updated: 2024/09/19 14:33:03 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -22,7 +22,7 @@ typedef bool (*t_vec_ast_sort_fn)(t_ast_node *, t_ast_node *);
typedef void (*t_free_ast_item)(t_ast_node); typedef void (*t_free_ast_item)(t_ast_node);
/// @brief A dynamic array of t_ast_node /// @brief A dynamic array of t_ast_node
struct s_vec_ast typedef struct s_vec_ast
{ {
t_free_ast_item free_func; t_free_ast_item free_func;
t_usize len; t_usize len;

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/04 18:46:53 by maiboyer #+# #+# */ /* Created: 2023/12/04 18:46:53 by maiboyer #+# #+# */
/* Updated: 2024/09/19 13:53:08 by rparodi ### ########.fr */ /* Updated: 2024/09/19 14:33:29 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -22,7 +22,7 @@ typedef bool (*t_vec_estr_sort_fn)(t_expandable_str *, t_expandable_str *);
typedef void (*t_free_estr_item)(t_expandable_str); typedef void (*t_free_estr_item)(t_expandable_str);
/// @brief A dynamic array of t_expandable_str /// @brief A dynamic array of t_expandable_str
struct s_vec_estr typedef struct s_vec_estr
{ {
t_free_estr_item free_func; t_free_estr_item free_func;
t_usize len; t_usize len;

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/04 18:46:53 by maiboyer #+# #+# */ /* Created: 2023/12/04 18:46:53 by maiboyer #+# #+# */
/* Updated: 2024/09/19 14:04:24 by rparodi ### ########.fr */ /* Updated: 2024/09/19 14:33:54 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -22,7 +22,7 @@ typedef bool (*t_vec_pid_sort_fn)(t_pid *, t_pid *);
typedef void (*t_free_pid_item)(t_pid); typedef void (*t_free_pid_item)(t_pid);
/// @brief A dynamic array of t_pid /// @brief A dynamic array of t_pid
struct s_vec_pid typedef struct s_vec_pid
{ {
t_free_pid_item free_func; t_free_pid_item free_func;
t_usize len; t_usize len;

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/04 18:46:53 by maiboyer #+# #+# */ /* Created: 2023/12/04 18:46:53 by maiboyer #+# #+# */
/* Updated: 2024/09/19 14:31:26 by rparodi ### ########.fr */ /* Updated: 2024/09/19 14:33:44 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -21,7 +21,7 @@ typedef bool (*t_vec_str_sort_fn)(t_str *, t_str *);
typedef void (*t_free_str_item)(t_str); typedef void (*t_free_str_item)(t_str);
/// @brief A dynamic array of t_str /// @brief A dynamic array of t_str
struct s_vec_str typedef struct s_vec_str
{ {
t_free_str_item free_func; t_free_str_item free_func;
t_usize len; t_usize len;