docs(list): moving the actual documentation on the header

- The documentation on the header allow u to see on the files where the
header is inclued
This commit is contained in:
Raphael 2025-09-05 16:29:29 +02:00
parent 52b85d2dc6
commit 3cadabea0a
No known key found for this signature in database
10 changed files with 74 additions and 66 deletions

View file

@ -6,19 +6,13 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/12 11:40:16 by rparodi #+# #+# */
/* Updated: 2025/09/01 16:35:45 by rparodi ### ########.fr */
/* Updated: 2025/09/05 16:14:05 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "list.h"
#include <unistd.h>
/**
* @brief Add the list new to the front of chained list of lst
*
* @param lst first element of the list
* @param new The element to add at the start
*/
void ft_lstadd_front(t_list **lst, t_list *new)
{
if (*lst == NULL)