aboutsummaryrefslogtreecommitdiff
path: root/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'array.h')
-rw-r--r--array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.h b/array.h
index 6c9d8a8..69d6047 100644
--- a/array.h
+++ b/array.h
@@ -76,7 +76,7 @@ void *array_get(const Array*, size_t idx);
*/
bool array_set(Array*, size_t idx, void *item);
/** Dereference pointer stored in array element. */
-void *array_get_ptr(Array*, size_t idx);
+void *array_get_ptr(const Array*, size_t idx);
/** Store the address to which ``item`` points to into the array. */
bool array_set_ptr(Array*, size_t idx, void *item);
/** Add element to the end of the array. */