Libft
Custom implementation of core libc functions with additional utility helpers.
Loading...
Searching...
No Matches
node.c File Reference
#include "libft.h"
#include <stdlib.h>
Include dependency graph for node.c:

Functions

t_nodenode_new (void *content, t_node *prev, t_node *next)
 Creates a new list node.
 
void node_free (t_node **node, void(*del_content)(void *))
 Frees a node and optionally its content.