From 14dea7c48c1f087167f7cbd6c8ebc4bb9aec2a14 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 24 Oct 2024 03:13:03 +0100 Subject: Clean up macros in vec.h --- vec.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'vec.h') diff --git a/vec.h b/vec.h index 2f363d6..d45f91c 100644 --- a/vec.h +++ b/vec.h @@ -36,19 +36,14 @@ void vec_append(void **ptr, void *data, uint32_t size); void vec_clone(void **dest, void **src); void vec_ensure_remaining(void **ptr, uint32_t space); -#define VEC_IMPL #ifdef VEC_IMPL #include #include -#ifndef MAX +#define VEC_MULT 2 #define MAX(A, B) ((A) > (B) ? (A) : (B)) -#endif - -#ifndef MIN #define MIN(A, B) ((A) < (B) ? (A) : (B)) -#endif void vec_make(void **ptr, uint32_t size) { -- cgit v1.2.3-13-gbd6f