| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| CFSTR is just a macro. It's not incredibly magic. It just calls a private CF function. The macro body uses a trick to prevent the programmer from passing in anything other than a regular quoted string. (Probably the CF function fails somehow if you pass in a string that could potentially disappear.) As Larry would suggest, read the headers and it's all right there. :) Neither version will behave significantly differently at runtime. Don't sweat it. On Nov 30, 2005, at 2:18 PM, Stevo Brock wrote:
|
_______________________________________________ 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: | |
| >const vs. static CFStringRefs (From: Stevo Brock <email@hidden>) | |
| >Re: const vs. static CFStringRefs (From: John Stiles <email@hidden>) | |
| >Re: const vs. static CFStringRefs (From: Stevo Brock <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.