diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-04 17:55:08 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-07 13:01:53 +0200 |
commit | 08d85e61435e43ade490ecef16437f93c0d88bed (patch) | |
tree | fd7357e4a53f7786b5001ef128ffa8e473570f00 /Vector.h | |
parent | 164051354f11c0426e09e4fa09feeca7de92e619 (diff) |
Mark Object classes and Object class fields const
Diffstat (limited to 'Vector.h')
-rw-r--r-- | Vector.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,14 +17,14 @@ in the source distribution for its full text. typedef struct Vector_ { Object **array; - ObjectClass* type; + const ObjectClass* type; int arraySize; int growthRate; int items; bool owner; } Vector; -Vector* Vector_new(ObjectClass* type, bool owner, int size); +Vector* Vector_new(const ObjectClass* type, bool owner, int size); void Vector_delete(Vector* this); |