sources/ft_list_replace.c
inline void	ft_list_replace(t_list_head *old, t_list_head *new)
{
	new->next = old->next;
	new->next->prev = new;
	new->prev = old->prev;
	new->prev->next = new;
}
/*
** ft_list_replace - replace old entry by new one
*/
replace old entry by new one
replace old entry by new one
inline void	ft_list_replace(t_list_head *old, t_list_head *new)
{
	new->next = old->next;
	new->next->prev = new;
	new->prev = old->prev;
	new->prev->next = new;
}
inline void ft_list_replace ( t_list_head * old , t_list_head * new ) { new -> next = old -> next ; new -> next -> prev = new ; new -> prev = old -> prev ; new -> prev -> next = new ; }
ft_list_replace - replace old entry by new one
ft_list_replace - replace old entry by new one