CFStringGetSurrogatePairForLongCharacter is an inline function. You can just copy the definition to your project (with warning once your baseline become SL and later).
Aki On Jun 28, 2010, at 3:17 PM, Georg Seifert wrote: > >> You can do something like this: >> UniChar characters[2]; >> CFIndex length = (CFStringGetSurrogatePairForLongCharacter(0x1ABCD, >> characters) ? 2 : 1); >> >> CFStringCreateWithCharacters(NULL, characters, length); >> >> Aki > > Is there anything like this in Leopard. This functions are new in Snow > Leopard. > > Thanks for all the answers. > > Georg_______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/aki%40apple.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
