aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc/deprecated/Protocol.h
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-12-19 00:54:27 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-12-19 00:54:27 +0000
commitc06a8664093c40aad4e27e5329cce5bb37156109 (patch)
tree38a2b1a032f14abb8b3915b79c6dae557d5a8910 /libobjc/objc/deprecated/Protocol.h
parent1af5b8f5538910672abbc5bfd882c95c2c75084e (diff)
downloadgcc-c06a8664093c40aad4e27e5329cce5bb37156109.zip
gcc-c06a8664093c40aad4e27e5329cce5bb37156109.tar.gz
gcc-c06a8664093c40aad4e27e5329cce5bb37156109.tar.bz2
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com> * 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
Diffstat (limited to 'libobjc/objc/deprecated/Protocol.h')
-rw-r--r--libobjc/objc/deprecated/Protocol.h13
1 files changed, 13 insertions, 0 deletions
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