My Project
Loading...
Searching...
No Matches
Functions
internal_marigold_dynamic_array.h File Reference

Go to the source code of this file.

Functions

void dynamic_array_destroy (dynamic_array *array)
 Destroy a dynamic array and free its memory.
 

Function Documentation

◆ dynamic_array_destroy()

void dynamic_array_destroy ( dynamic_array array)

Destroy a dynamic array and free its memory.

Frees the memory block and the array structure itself. Sets owner_count to 0 before freeing.

Parameters
arrayPointer to the dynamic_array to destroy.