aboutsummaryrefslogtreecommitdiff
path: root/array.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-01-12 00:21:18 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-01-12 00:21:18 -0700
commit1b483c2cb47e2f64726e1bbb0923a4fa40ac8126 (patch)
treecf52190dbe8a58633e1c074d3ee5f560c9d92e24 /array.h
parent0f31ef53420b755c3978818bcd2e5a86e141413d (diff)
downloadvis-1b483c2cb47e2f64726e1bbb0923a4fa40ac8126.tar.gz
vis-1b483c2cb47e2f64726e1bbb0923a4fa40ac8126.tar.xz
array: delete oneliners
same as buffer commit Array is completely visible
Diffstat (limited to 'array.h')
-rw-r--r--array.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/array.h b/array.h
index 9764bef..2cc3362 100644
--- a/array.h
+++ b/array.h
@@ -90,10 +90,6 @@ bool array_add_ptr(Array*, void *item);
* @endrst
*/
bool array_remove(Array*, size_t idx);
-/** Number of elements currently stored in the array. */
-size_t array_length(const Array*);
-/** Number of elements which can be stored without enlarging the array. */
-size_t array_capacity(const Array*);
/** Remove all elements with index greater or equal to ``length``, keep allocated memory. */
bool array_truncate(Array*, size_t length);
/**