mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
wordlist: add a function to debug-print a wordlist
This commit is contained in:
parent
b58848e091
commit
46c288c858
3 changed files with 6 additions and 4 deletions
|
|
@ -3,10 +3,10 @@
|
|||
/* ::: :::::::: */
|
||||
/* wordlist.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* By: jguelen <jguelen@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/02/13 17:07:01 by khais #+# #+# */
|
||||
/* Updated: 2025/03/10 14:26:20 by khais ### ########.fr */
|
||||
/* Updated: 2025/03/21 10:43:41 by jguelen ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
/* +:+ +:+ +:+ */
|
||||
/* By: jguelen <jguelen@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/02/13 15:46:02 by khais #+# #+# */
|
||||
/* Updated: 2025/03/21 10:16:55 by jguelen ### ########.fr */
|
||||
/* Created: 2025/03/20 14:54:55 by khais #+# #+# */
|
||||
/* Updated: 2025/03/21 10:43:12 by jguelen ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -47,5 +47,6 @@ t_worddesc *wordlist_pop_idx(t_wordlist **wordlist, int idx);
|
|||
int wordlist_size(t_wordlist *wordlist);
|
||||
t_wordlist *wordlist_last(t_wordlist *list);
|
||||
t_wordlist *wordlist_get_elem(t_wordlist *list, int idx);
|
||||
void wordlist_debug(t_wordlist *wordlist);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue