Overview
Comment: | Don't have any methods in Protocol.
Messaging protocols is deprecated and unreliable. Thus we shouldn't do |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | runtime |
Files: | files | file ages | folders |
SHA3-256: |
df24f80ab0743aca75ff8193a956d786 |
User & Date: | js on 2012-04-08 14:06:14 |
Other Links: | branch diff | manifest | tags |
Context
2012-04-08
| ||
14:07 | Reduce locking in class_conformsToProtocol(). check-in: 10c3b59143 user: js tags: runtime | |
14:06 | Don't have any methods in Protocol. check-in: df24f80ab0 user: js tags: runtime | |
2012-04-06
| ||
17:43 | objc_abi_protocol_list does not exist anymore. check-in: 5b29d50e2e user: js tags: runtime | |
Changes
Modified src/runtime/protocol.m from [234e32b5ef] to [1e751e9c03].
︙ | |||
18 19 20 21 22 23 24 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | + - + + + - + - + - - - - - - - | #include <string.h> #import "runtime.h" #import "runtime-private.h" @implementation Protocol @end |
Modified src/runtime/runtime.h from [117a048a91] to [a7ea76e777].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | - - - - - - - - - - - - - - - | typedef struct objc_class *Class; typedef struct objc_object *id; typedef const struct objc_selector *SEL; typedef signed char BOOL; typedef id (*IMP)(id, SEL, ...); |
︙ | |||
86 87 88 89 90 91 92 93 94 95 96 97 98 99 | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | + + + + + + + + + + + + + + + + + + + | struct objc_category { const char *category_name; const char *class_name; struct objc_method_list *instance_methods; struct objc_method_list *class_methods; struct objc_protocol_list *protocols; }; #ifdef __OBJC__ @interface Protocol { @public #else typedef struct { #endif Class isa; const char *name; struct objc_protocol_list *protocol_list; struct objc_abi_method_description_list *instance_methods; struct objc_abi_method_description_list *class_methods; #ifdef __OBJC__ } @end #else } Protocol; #endif struct objc_protocol_list { struct objc_protocol_list *next; long count; Protocol *list[1]; }; |
︙ |