make vec test split into .h and .c files

This commit is contained in:
r4
2022-05-29 21:53:25 +02:00
parent 368dde5c89
commit 0d999f5b39
4 changed files with 16 additions and 6 deletions

View File

@@ -1,12 +1,9 @@
// Copyright 2022 Darwin Schuppan <darwin@nobrain.org>
// SPDX license identifier: MIT
#define GENERIC_IMPL_STATIC
#define GENERIC_IMPL
#define GENERIC_TYPE int
#define GENERIC_NAME IntVec
#define GENERIC_PREFIX int_vec
#include <ds/generic/vec.h>
#include "vec.h"
#include <assert.h>
#include <string.h>