aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc/Protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/objc/Protocol.h')
-rw-r--r--libobjc/objc/Protocol.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/libobjc/objc/Protocol.h b/libobjc/objc/Protocol.h
index 1f60405..ad4bbd3 100644
--- a/libobjc/objc/Protocol.h
+++ b/libobjc/objc/Protocol.h
@@ -35,21 +35,24 @@ extern "C" {
@interface Protocol : Object
{
@private
- char *protocol_name;
- struct objc_protocol_list *protocol_list;
- struct objc_method_description_list *instance_methods, *class_methods;
+ char *protocol_name;
+ struct objc_protocol_list *protocol_list;
+ struct objc_method_description_list *instance_methods, *class_methods;
}
-/* Obtaining attributes intrinsic to the protocol */
+/* The following 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;