From c06a8664093c40aad4e27e5329cce5bb37156109 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Sun, 19 Dec 2010 00:54:27 +0000 Subject: In libobjc/: 2010-12-19 Nicola Pero In libobjc/: 2010-12-19 Nicola Pero * Protocol.m: Moved all methods, with the exception of -isEqual:, into the 'Deprecated' category. * objc/Protocol.h: Removed all methods, moved to objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h. * objc/deprecated/Protocol.h: New. * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h. From-SVN: r168040 --- libobjc/objc/deprecated/Protocol.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libobjc/objc/deprecated/Protocol.h (limited to 'libobjc/objc/deprecated/Protocol.h') diff --git a/libobjc/objc/deprecated/Protocol.h b/libobjc/objc/deprecated/Protocol.h new file mode 100644 index 0000000..7a77f51 --- /dev/null +++ b/libobjc/objc/deprecated/Protocol.h @@ -0,0 +1,13 @@ +/* The following methods were deprecated in GCC 4.6.0 and will be + removed in the next GCC release. */ +@interface Protocol (Deprecated) +/* 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 -- cgit v1.1