22#ifndef NDN_CXX_DETAIL_CF_STRING_OSX_HPP
23#define NDN_CXX_DETAIL_CF_STRING_OSX_HPP
25#include "ndn-cxx/detail/config.hpp"
27#ifndef NDN_CXX_HAVE_OSX_FRAMEWORKS
28#error "This file should not be included ..."
48CFReleaser<CFStringRef>
55CFReleaser<CFStringRef>
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.