summaryrefslogtreecommitdiff
path: root/vector.h
diff options
context:
space:
mode:
authorJasper2025-09-09 12:16:26 +0200
committerJasper2025-09-09 12:16:26 +0200
commit5fd2f59d9f30253cb0c64a06a4a305e90b89e3ae (patch)
tree1fa55449eb91489a428eeb48307d7d314b208860 /vector.h
parent29f92b1c7dad80b40654f561fbe82f5c1d9df7b2 (diff)
Variadic functions to free matrices/vectors
Renamed 'matrix_freen' to 'matrix_free_many1'. Frees a dynamic array of matrices.
Diffstat (limited to 'vector.h')
-rw-r--r--vector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vector.h b/vector.h
index 3df897e..0d00d4f 100644
--- a/vector.h
+++ b/vector.h
@@ -26,6 +26,7 @@ Vector *vector_alloc(size_t m);
Vector *vector_alloc1(Matrix *mat);
void vector_free(Vector *v);
+void vector_free_many(size_t argcount, ...);
void vector_print(const Vector *v);