text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_lstnew.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: rvertie <marvin@42.fr>                     +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2021/04/14 12:10:59 by rvertie           #+#    #+#             */
  /*   Updated: 2021/04/14 12:20:10 by rvertie          ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include <libft.h>
  
  t_list	*ft_lstnew(void *content)
  {
  	t_list	*node;
  
  	node = (t_list *)malloc(sizeof(t_list));
  	if (node)
  	{
  		node->content = content;
  		node->next = NULL;
  	}
  	return (node);
  }
  