Differences From Artifact [3575f5766b]:
- File src/OFIntrospection.m — part of check-in [f904fef37e] at 2012-10-28 14:43:27 on branch trunk — OFIntrospection: Allow selectors containing UTF-8. (user: js, size: 6900) [annotate] [blame] [check-ins using]
To Artifact [f27111d726]:
- File
src/OFIntrospection.m
— part of check-in
[ab13f1d324]
at
2012-12-02 16:43:45
on branch trunk
— OFMethod: Add one more NULL check.
This makes sure we never compare anything with NULL. (user: js, size: 6967) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
109 110 111 112 113 114 115 | if (![otherMethod->name isEqual: name]) return NO; if ((otherMethod->typeEncoding == NULL && typeEncoding != NULL) || (otherMethod->typeEncoding != NULL && typeEncoding == NULL)) return NO; | > > | | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | if (![otherMethod->name isEqual: name]) return NO; if ((otherMethod->typeEncoding == NULL && typeEncoding != NULL) || (otherMethod->typeEncoding != NULL && typeEncoding == NULL)) return NO; if (otherMethod->typeEncoding != NULL && typeEncoding != NULL && strcmp(otherMethod->typeEncoding, typeEncoding)) return NO; return YES; } - (uint32_t)hash { |
︙ | ︙ |