Open Bug 334670 Opened 15 years ago Updated 5 months ago
Would like CFString <-> ns
A[C]String utils in the tree
In Mac-specific components, we usually deal with CFStringRefs, which is apple's core foundation string type. It would be nice if we could add some inlined helpers to nsString.h (mac-only) for this. I haven't looked at all mac-specific parts of the tree, but I'd imagine everyone rolls their own. Camino has this code ready basically, so we can borrow it from them.
I'd be happy to put this code #ifdef XP_MACOSX in xpcom/glue/nsStringUtils.h, see bug 334038
Some code was added to nsLocalFileOSX.cpp. It should be moved somewhere where it can be shared.
You need to log in before you can comment on or make changes to this bug.