On Thu, 31 Mar 2005 13:09:23 -0500, Laurence Harris <email@hidden> wrote:
> On 3/31/05 12:44 PM, David Duncan didst favor us with:
>
> > On Mar 31, 2005, at 12:21 PM, Laurence Harris wrote:
> >
> >> On a side note, why isn't __CFStrIsMutable a public API?
> >
> > Probably because no one has filed a bug yet (I know I have about a half
> > dozen "can't test mutability" comments in my code right now...)
>
> Someone has now: rdar://4074982
It has been stated that the reason for this is that you shouldn't rely
on that test. You can sometimes be passed a mutable CFString that you
shouldn't modify. You should determine whether you can mutate the
string by whether you were supplied with a CFStringRef or a
CFMutableStringRef. Or something.
-- Finlay
_______________________________________________
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