aboutsummaryrefslogtreecommitdiff
path: root/src/vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vector.h b/src/vector.h
index e4a912a..0a7c297 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -1,3 +1,6 @@
+#ifndef UNJA_VECTOR_H
+#define UNJA_VECTOR_H
+
#include <stdlib.h>
struct vector {
@@ -7,5 +10,9 @@ struct vector {
};
struct vector* vector_new(int cap);
+
int vector_push(struct vector *vec, void *value);
-void vector_free(struct vector *vec); \ No newline at end of file
+
+void vector_free(struct vector *vec);
+
+#endif