From 269cf920996f9a5a0cb6909fd442ce28f0805cc0 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Thu, 15 Oct 2026 08:50:18 +0800 Subject: update tests Signed-off-by: Richard Qin --- lab03/vec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lab03/vec.h') diff --git a/lab03/vec.h b/lab03/vec.h index b751b80..d62df76 100644 --- a/lab03/vec.h +++ b/lab03/vec.h @@ -24,12 +24,12 @@ * `data` points to storage for at most `capacity` elements. The first * `size` positions contain valid elements. */ -struct vec { +typedef struct vec { void *data; size_t size; size_t capacity; size_t elem_size; -}; +} vec; /** * @brief Compares two elements. -- cgit v1.2.3