wordlist: add a function to debug-print a wordlist

This commit is contained in:
Khaïs COLIN 2025-02-24 18:18:15 +01:00 committed by Jérôme Guélen
parent b58848e091
commit 46c288c858
No known key found for this signature in database
3 changed files with 6 additions and 4 deletions

View file

@ -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 */
/* */
/* ************************************************************************** */

View file

@ -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