X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e21da6c2a6ffcd8b4a2b2b06cf7486f36f291a5b..9973ef0207d21535a05610ca50d9f45c7c56c758:/vector.h diff --git a/vector.h b/vector.h deleted file mode 100644 index c64eb1f..0000000 --- a/vector.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef CGIT_VECTOR_H -#define CGIT_VECTOR_H - -#include - -struct vector { - size_t size; - size_t count; - size_t alloc; - void *data; -}; - -#define VECTOR_INIT(type) {sizeof(type), 0, 0, NULL} - -int vector_push(struct vector *vec, const void *data, int gently); - -#endif /* CGIT_VECTOR_H */