From 5f429f38da668348d04c7d5bb579956e82de72ef Mon Sep 17 00:00:00 2001 From: epochryphon Date: Tue, 26 May 2026 00:25:59 -0500 Subject: [PATCH] added declariations for some internal functions --- .../internal/internal_marigold_vector.h | 17 ++++++++--------- .../MODULE_marigold_vector/marigold_vector.c | 1 + 2 files changed, 9 insertions(+), 9 deletions(-) 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