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

#include "../../String.h"

#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