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

Functions

void * list_get_content (t_list list, bool(*select_function)(void *))
 Finds content in list matching a selection function.
 
void * list_get_content_n (t_list list, size_t index)
 Gets content at a specific index in the list.
 
void * list_get_content_last (t_list list)
 Gets the content of the last node in the list.
 
t_nodelist_get_node_n (t_list list, size_t index)
 Gets the node at a specific index in the list.
 
t_nodelist_get_node_last (t_list list)
 Gets the last node in the list.