diff options
Diffstat (limited to 'libdimension/dimension/array.h')
-rw-r--r-- | libdimension/dimension/array.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h index 9ee3584..0a64952 100644 --- a/libdimension/dimension/array.h +++ b/libdimension/dimension/array.h @@ -38,8 +38,9 @@ dmnsn_array *dmnsn_new_array(size_t obj_size); void dmnsn_array_push(dmnsn_array *array, const void *obj); void dmnsn_array_pop(dmnsn_array *array, void *obj); -void dmnsn_array_get(const dmnsn_array *array, size_t i, void *obj); -void dmnsn_array_set(dmnsn_array *array, size_t i, const void *obj); +void *dmnsn_array_at(dmnsn_array *array, size_t i); +void dmnsn_array_get(const dmnsn_array *array, size_t i, void *obj); +void dmnsn_array_set(dmnsn_array *array, size_t i, const void *obj); void dmnsn_array_resize(dmnsn_array *array, size_t length); |