Differences From Artifact [562aeea48c]:
- File src/OFIntrospection.m — part of check-in [e40729d406] at 2013-02-12 18:22:15 on branch trunk — Prefix all ivars with an underscore. (user: js, size: 6994) [annotate] [blame] [check-ins using]
To Artifact [f870fce7d2]:
- File
src/OFIntrospection.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 7015) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
77 78 79 80 81 82 83 | - (SEL)selector { return _selector; } - (OFString*)name { | | | | | | | | | | 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 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | - (SEL)selector { return _selector; } - (OFString*)name { OF_GETTER(_name, true) } - (const char*)typeEncoding { return _typeEncoding; } - (OFString*)description { return [OFString stringWithFormat: @"<OFMethod: %@ [%s]>", _name, _typeEncoding]; } - (bool)isEqual: (id)object { OFMethod *method; if (![object isKindOfClass: [OFMethod class]]) return false; method = object; if (!sel_isEqual(method->_selector, _selector)) return false; if (![method->_name isEqual: _name]) return false; if ((method->_typeEncoding == NULL && _typeEncoding != NULL) || (method->_typeEncoding != NULL && _typeEncoding == NULL)) return false; if (method->_typeEncoding != NULL && _typeEncoding != NULL && strcmp(method->_typeEncoding, _typeEncoding)) return false; return true; } - (uint32_t)hash { uint32_t hash; OF_HASH_INIT(hash); |
︙ | ︙ | |||
184 185 186 187 188 189 190 | [_name release]; [super dealloc]; } - (OFString*)name { | | | 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | [_name release]; [super dealloc]; } - (OFString*)name { OF_GETTER(_name, true); } - (ptrdiff_t)offset { return _offset; } |
︙ | ︙ | |||
335 336 337 338 339 340 341 | [_instanceVariables release]; [super dealloc]; } - (OFArray*)classMethods { | | | | | 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 | [_instanceVariables release]; [super dealloc]; } - (OFArray*)classMethods { OF_GETTER(_classMethods, true) } - (OFArray*)instanceMethods { OF_GETTER(_instanceMethods, true) } - (OFArray*)instanceVariables { OF_GETTER(_instanceVariables, true) } @end |