added declariations for some internal functions
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
|
#ifndef INTERNAL_MARIGOLD_VECTOR_H
|
||||||
|
#define INTERNAL_MARIGOLD_VECTOR_H
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Destroy a dynamic array and free its memory.
|
struct vector_struct* vector_initialize();
|
||||||
*
|
|
||||||
* Frees the memory block and the array structure itself.
|
void vector_free_members();
|
||||||
* Sets owner_count to 0 before freeing.
|
|
||||||
*
|
#endif /* INTERNAL_MARIGOLD_VECTOR_H */
|
||||||
* @param array Pointer to the dynamic_array to destroy.
|
|
||||||
*/
|
|
||||||
void dynamic_array_destroy(dynamic_array* array);
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#include "marigold_vector.h"
|
#include "marigold_vector.h"
|
||||||
|
#include "internal/internal_marigold_vector.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user