22 #ifndef NDN_CXX_DETAIL_CF_STRING_OSX_HPP
23 #define NDN_CXX_DETAIL_CF_STRING_OSX_HPP
27 #ifndef NDN_CXX_HAVE_OSX_FRAMEWORKS
28 #error "This file should not be included ..."
47 CFReleaser<CFStringRef>
54 CFReleaser<CFStringRef>
Common includes and macros used throughout the library.
CFReleaser< CFStringRef > fromBuffer(const uint8_t *buf, size_t buflen)
Create a CFString by copying bytes from a raw buffer.
std::string toStdString(CFStringRef cfStr)
Convert a CFString to a std::string.
CFReleaser< CFStringRef > fromStdString(const std::string &str)
Create a CFString by copying characters from a std::string.