aboutsummaryrefslogtreecommitdiff
path: root/array.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-09-30 11:22:55 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-10-10 10:03:17 +0200
commit54614939ff8e65d0831a8b64e575c03215a183aa (patch)
tree4310608f5c31df9e2aba2ae108db1161e9b029e2 /array.h
parent83edfb38432ee7c4bef426c9e29fb8c8c277706d (diff)
downloadvis-54614939ff8e65d0831a8b64e575c03215a183aa.tar.gz
vis-54614939ff8e65d0831a8b64e575c03215a183aa.tar.xz
array: mark array_peek argument as const
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 ebfa711..2a82535 100644
--- a/array.h
+++ b/array.h
@@ -128,6 +128,6 @@ void *array_pop(Array*);
* .. warning:: The same ownership rules as for ``array_get`` apply.
* @endrst
*/
-void *array_peek(Array*);
+void *array_peek(const Array*);
#endif