Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFStringCreateMutable max size question



On 3/31/05 12:15 PM, George Warner didst favor us with:

> On Thu, 31 Mar 2005 02:48:22 -0500, Laurence Harris <email@hidden>
> wrote:
> 
>> If I pass a maxSize > 0 to CFStringCreateMutable, what advantages does that
>> offer me? Will it allocate that much space so I can append to the string
>> without forcing reallocation?
> 
> Just an FYI here: Since most of core foundation is in darwin (which is open
> source) you can view the source for it in the darwin sources:
> 
> <http://gobsd.com/code/darwin/CoreFoundation/String.subproj/CFString.c>
> 
True, but I'd really rather have good documentation. :-)

On a side note, why isn't __CFStrIsMutable a public API?

Larry

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >re: CFStringCreateMutable max size question (From: George Warner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.