summaryrefslogtreecommitdiffstats
path: root/Vector.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-04 17:55:08 +0200
committercgzones <cgzones@googlemail.com>2020-10-07 13:01:53 +0200
commit08d85e61435e43ade490ecef16437f93c0d88bed (patch)
treefd7357e4a53f7786b5001ef128ffa8e473570f00 /Vector.c
parent164051354f11c0426e09e4fa09feeca7de92e619 (diff)
Mark Object classes and Object class fields const
Diffstat (limited to 'Vector.c')
-rw-r--r--Vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Vector.c b/Vector.c
index 3d4e6466..a12d6bb5 100644
--- a/Vector.c
+++ b/Vector.c
@@ -13,7 +13,7 @@ in the source distribution for its full text.
#include <stdbool.h>
-Vector* Vector_new(ObjectClass* type, bool owner, int size) {
+Vector* Vector_new(const ObjectClass* type, bool owner, int size) {
Vector* this;
if (size == DEFAULT_SIZE)

© 2014-2024 Faster IT GmbH | imprint | privacy policy