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

Go to the source code of this file.

Functions

void array_remove (t_array *array, size_t index)
 Deletes the item at the specified index. More...
 

Function Documentation

◆ array_remove()

void array_remove ( t_array array,
size_t  index 
)

Deletes the item at the specified index.

Parameters
indexThe index
Note
This function has linear complexity in the number of elements in the worst-case.

Definition at line 17 of file array_remove.c.