summaryrefslogtreecommitdiff
path: root/libobjc/objc/deprecated/Protocol.h
blob: 7a77f51a0ddf55d6738e041b3c00de3c2b266fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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