@@ -19,36 +19,36 @@ #import "OFObject.h" static SEL cxx_construct = NULL; static SEL cxx_destruct = NULL; -static BOOL +static bool call_ctors(Class cls, id obj) { Class super = class_getSuperclass(cls); id (*ctor)(id, SEL); id (*last)(id, SEL); if (super != nil) if (!call_ctors(super, obj)) - return NO; + return false; if (cxx_construct == NULL) cxx_construct = sel_registerName(".cxx_construct"); if (!class_respondsToSelector(cls, cxx_construct)) - return YES; + return true; ctor = (id(*)(id, SEL)) class_getMethodImplementation(cls, cxx_construct); last = (id(*)(id, SEL)) class_getMethodImplementation(super, cxx_construct); if (ctor == last) - return YES; + return true; - return (ctor(obj, cxx_construct) != nil ? YES : NO); + return (ctor(obj, cxx_construct) != nil); } id objc_constructInstance(Class cls, void *bytes) {