NSString initWithCharactersNoCopy
NSString initWithCharactersNoCopy
- Subject: NSString initWithCharactersNoCopy
- From: John Stiles <email@hidden>
- Date: Fri, 11 Jun 2004 12:21:04 -0700
I'm looking at the following NSString prototype:
- (id)initWithCharactersNoCopy:(unichar *)characters
length:(unsigned)length freeWhenDone:(BOOL)flag
And wondering why characters is a unichar* and not a const unichar*.
Can this call really modify the buffer? I'm not making an
NSMutableString...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.