diff options
-rw-r--r-- | Object.c | 2 | ||||
-rw-r--r-- | Object.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ ObjectClass Object_class = { #ifndef NDEBUG -bool Object_isA(Object* o, const ObjectClass* klass) { +bool Object_isA(const Object* o, const ObjectClass* klass) { if (!o) return false; const ObjectClass* type = o->klass; @@ -50,7 +50,7 @@ extern ObjectClass Object_class; #ifndef NDEBUG -bool Object_isA(Object* o, const ObjectClass* klass); +bool Object_isA(const Object* o, const ObjectClass* klass); #endif /* NDEBUG */ |