aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vec.h b/src/vec.h
index ccc0f6a..faa314a 100644
--- a/src/vec.h
+++ b/src/vec.h
@@ -95,6 +95,7 @@
} \
fprintf(fp, "]"); \
} \
+ size_t T##Vector_len(T##Vector *self) { return self->size; } \
void T##Vector_free(T##Vector *self) { free(self->buffer); }
VECTOR_DEF(Int);