diff options
Diffstat (limited to 'libobjc/objc/Protocol.h')
-rw-r--r-- | libobjc/objc/Protocol.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/libobjc/objc/Protocol.h b/libobjc/objc/Protocol.h index ad4bbd33d95..e230940279a 100644 --- a/libobjc/objc/Protocol.h +++ b/libobjc/objc/Protocol.h @@ -39,24 +39,15 @@ extern "C" { struct objc_protocol_list *protocol_list; struct objc_method_description_list *instance_methods, *class_methods; } +@end -/* The following methods have been replaced by +/* The Protocol methods have been replaced by protocol_getName() protocol_conformsToProtocol() protocol_getMethodDescription() */ -/* Obtaining attributes intrinsic to the protocol */ -- (const char *)name; - -/* Testing protocol conformance */ -- (BOOL) conformsTo: (Protocol *)aProtocolObject; - -/* Looking up information specific to a protocol */ -- (struct objc_method_description *) descriptionForInstanceMethod:(SEL)aSel; -- (struct objc_method_description *) descriptionForClassMethod:(SEL)aSel; - -@end +#include "deprecated/Protocol.h" #ifdef __cplusplus } |