data_structures
Functions
array_pop.c File Reference
#include "array.h"
#include "array_utils.h"
+ Include dependency graph for array_pop.c:

Go to the source code of this file.

Functions

void * array_pop (t_array *array)
 Removes and returns the element at the end of this array. More...
 

Function Documentation

◆ array_pop()

void* array_pop ( t_array array)

Removes and returns the element at the end of this array.

Returns
The item at the end of this array, or NULL if the array is empty.

Definition at line 17 of file array_pop.c.