aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/platform/osx/Convert.hpp
blob: a2d8beae68dd550e4a226ee92c434186b5ee6530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include "../../PreConfig.hpp"
#ifdef CRU_PLATFORM_OSX

#include "../../String.hpp"

#include <CoreFoundation/CoreFoundation.h>

namespace cru::platform::osx {
CFStringRef Convert(const String& string);
String Convert(CFStringRef string);

CFRange Convert(const Range& range);
Range Convert(const CFRange& range);
}  // namespace cru::platform::osx

#endif