summaryrefslogtreecommitdiff
path: root/src/vector.h
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-06-02 21:03:24 -0300
committerEuAndreh <eu@euandre.org>2024-06-02 21:03:24 -0300
commit537a8851a7be615abfd9f1e2bb8c26699e8086b2 (patch)
tree76d8ae04b275a1d581d0f008a130a338d3ee98bc /src/vector.h
parentsrc/hash.c: Add thread safe initialization of SipHash seed (diff)
downloadpindaiba-537a8851a7be615abfd9f1e2bb8c26699e8086b2.tar.gz
pindaiba-537a8851a7be615abfd9f1e2bb8c26699e8086b2.tar.xz
src/vector.h: Add vector_capacity()
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vector.h b/src/vector.h
index 441ac14..fc2f81a 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -16,6 +16,9 @@ void
vector_free(const struct Vector **const v);
size_t
+vector_capacity(const struct Vector *const v);
+
+size_t
vector_count(const struct Vector *const v);
int