Differences From Artifact [a7ea76e777]:
- File
src/runtime/runtime.h
— part of check-in
[df24f80ab0]
at
2012-04-08 14:06:14
on branch runtime
— Don't have any methods in Protocol.
Messaging protocols is deprecated and unreliable. Thus we shouldn't do
it in the runtime either. (user: js, size: 3094) [annotate] [blame] [check-ins using]
To Artifact [97bbb9569f]:
- File src/runtime/runtime.h — part of check-in [b8744d8d68] at 2012-04-08 14:14:46 on branch runtime — Add protocol_{getName,isEqual,conformsToProtocol}. (user: js, size: 3257) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
118 119 120 121 122 123 124 125 126 127 128 | extern BOOL class_respondsToSelector(Class, SEL); extern BOOL class_conformsToProtocol(Class, Protocol*); extern IMP class_getMethodImplementation(Class, SEL); extern IMP class_replaceMethod(Class, SEL, IMP, const char*); extern const char* objc_get_type_encoding(Class, SEL); extern IMP objc_msg_lookup(id, SEL); extern IMP objc_msg_lookup_super(struct objc_super*, SEL); extern void objc_thread_add(void); extern void objc_thread_remove(void); extern void objc_exit(void); #endif | > > > | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | extern BOOL class_respondsToSelector(Class, SEL); extern BOOL class_conformsToProtocol(Class, Protocol*); extern IMP class_getMethodImplementation(Class, SEL); extern IMP class_replaceMethod(Class, SEL, IMP, const char*); extern const char* objc_get_type_encoding(Class, SEL); extern IMP objc_msg_lookup(id, SEL); extern IMP objc_msg_lookup_super(struct objc_super*, SEL); extern const char* protocol_getName(Protocol*); extern BOOL protocol_isEqual(Protocol*, Protocol*); extern BOOL protocol_conformsToProtocol(Protocol*, Protocol*); extern void objc_thread_add(void); extern void objc_thread_remove(void); extern void objc_exit(void); #endif |