#include "garbage.h"
Functions | |
t_element * | ft_garbagenew (void *ptr) |
Allocates and returns the newly created element 'value' is initialised with content 'next' is set to NULL. | |
void | ft_garbageadd_front (t_garbage *garbage, t_element *new) |
Adds the 'new' element at the start of stack. | |
void | ft_garbageadd_back (t_garbage *garbage, t_element *new) |
Adds the 'new' element at the end of stack. | |
void | ft_garbage_free_element (t_element *element) |
int | ft_garbageclear (t_garbage *garbage) |
Remove all elements from garbage. | |
|
inline |