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 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>


-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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



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.