diff --git a/ruamoko/include/Object.h b/ruamoko/include/Object.h index a88f9163f..593d6b86e 100644 --- a/ruamoko/include/Object.h +++ b/ruamoko/include/Object.h @@ -60,7 +60,7 @@ #endif // invocations + (BOOL) instancesRespondToSelector: (SEL)aSelector; + (BOOL) respondsToSelector: (SEL)aSelector; -+ (BOOL) conformsToProtocol: (Protocol)aProtocol; ++ (BOOL) conformsToProtocol: (Protocol *)aProtocol; + (BOOL) isKindOfClass: (Class)aClass; + (void) poseAsClass: (Class)aClass; + (Class) superclass; diff --git a/ruamoko/lib/Object.r b/ruamoko/lib/Object.r index 9857a3bb9..ff5fa2a30 100644 --- a/ruamoko/lib/Object.r +++ b/ruamoko/lib/Object.r @@ -114,7 +114,7 @@ BOOL (id object) object_is_meta_class = #0; return NO; } -+ (BOOL) conformsToProtocol: (Protocol)aProtocol = #0; ++ (BOOL) conformsToProtocol: (Protocol *)aProtocol = #0; + (BOOL) instancesRespondToSelector: (SEL)aSelector {