diff options
Diffstat (limited to '')
| -rw-r--r-- | src/vector.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/vector.h b/src/vector.h index eaca5f8..c3a86b3 100644 --- a/src/vector.h +++ b/src/vector.h @@ -36,13 +36,7 @@ * as elements are added. It tracks both the number of elements * currently stored (size) and the total allocated space (capacity). */ -typedef struct Vector Vector; - -/** - * @struct Vector - * @brief A dynamic array container structure. - */ -struct Vector { +typedef struct Vector { /** * @brief Array of generic data pointers. * @details A dynamically allocated array of (void*) pointers, @@ -68,7 +62,7 @@ struct Vector { * capacity >= size. */ size_t capacity; -}; +} Vector; /** * @brief Allocates and initializes an empty vector. |