248
249
250
251
252
253
254
255
256
257
258
259
260
261
|
return length;
}
- (id)copy
{
return [OFString stringWithCString: string];
}
- (BOOL)isEqual: (id)obj
{
if (![obj isKindOf: [OFString class]])
return NO;
if (strcmp(string, [obj cString]))
return NO;
|
>
>
>
>
>
|
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
|
return length;
}
- (id)copy
{
return [OFString stringWithCString: string];
}
- (id)mutableCopy
{
return [OFMutableString stringWithCString: string];
}
- (BOOL)isEqual: (id)obj
{
if (![obj isKindOf: [OFString class]])
return NO;
if (strcmp(string, [obj cString]))
return NO;
|