768
769
770
771
772
773
774
775
776
777
778
779
780
781
|
return NO;
otherString = object;
if ([otherString UTF8StringLength] != s->cStringLength ||
[otherString length] != s->length)
return NO;
if (strcmp(s->cString, [otherString UTF8String]))
return NO;
return YES;
}
|
>
>
>
>
>
>
|
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
|
return NO;
otherString = object;
if ([otherString UTF8StringLength] != s->cStringLength ||
[otherString length] != s->length)
return NO;
if (([otherString isKindOfClass: [OFString_UTF8 class]] ||
[otherString isKindOfClass: [OFMutableString_UTF8 class]]) &&
s->hashed && otherString->s->hashed &&
s->hash != otherString->s->hash)
return NO;
if (strcmp(s->cString, [otherString UTF8String]))
return NO;
return YES;
}
|