One is technically defined as a constant pointer, the other not;
you could use this to define 2 different class methods with the
same name but differing in "constness", and detect mutability that
way.
That fails in the case where, for example, some function returns a
CFStringRef that is really a CFMutableStringRef.
If the routine meant to return a mutable string, it should return a
mutable string. Otherwise you will have to make a mutable copy of
the string and use that.
Scott
_______________________________________________
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