aboutsummaryrefslogtreecommitdiff
path: root/include/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/array.h')
-rw-r--r--include/array.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/array.h b/include/array.h
deleted file mode 100644
index 948dad2..0000000
--- a/include/array.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef ARRAY_H
-#define ARRAY_H
-
-#include <stdlib.h>
-#define DEFAULT_ARR_LEN 10
-
-typedef struct {
- void **items;
- size_t size;
- size_t capacity;
-} array_t;
-
-array_t *init_array();
-
-void array_push(array_t *a, void *item);
-
-void *array_pop(array_t *a);
-
-void *array_del(array_t *a, unsigned int ind);
-
-void array_free(void *a, void (*freefunc)(void *));
-
-#endif