Mark Object classes and Object class fields const

This commit is contained in:
Christian Göttsche
2020-10-04 17:55:08 +02:00
committed by cgzones
parent 164051354f
commit 08d85e6143
20 changed files with 45 additions and 47 deletions

View File

@ -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)