diff --git a/source_code/MODULE_marigold_vector/internal/internal_marigold_vector.h b/source_code/MODULE_marigold_vector/internal/internal_marigold_vector.h index d1aaeed..f7403e8 100644 --- a/source_code/MODULE_marigold_vector/internal/internal_marigold_vector.h +++ b/source_code/MODULE_marigold_vector/internal/internal_marigold_vector.h @@ -1,10 +1,9 @@ +#ifndef INTERNAL_MARIGOLD_VECTOR_H +#define INTERNAL_MARIGOLD_VECTOR_H -/** - * @brief Destroy a dynamic array and free its memory. - * - * Frees the memory block and the array structure itself. - * Sets owner_count to 0 before freeing. - * - * @param array Pointer to the dynamic_array to destroy. - */ -void dynamic_array_destroy(dynamic_array* array); + +struct vector_struct* vector_initialize(); + +void vector_free_members(); + +#endif /* INTERNAL_MARIGOLD_VECTOR_H */ diff --git a/source_code/MODULE_marigold_vector/marigold_vector.c b/source_code/MODULE_marigold_vector/marigold_vector.c index 3c0bf40..555736b 100644 --- a/source_code/MODULE_marigold_vector/marigold_vector.c +++ b/source_code/MODULE_marigold_vector/marigold_vector.c @@ -1,4 +1,5 @@ #include "marigold_vector.h" +#include "internal/internal_marigold_vector.h" #include