aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform/osx/Convert.h
blob: 6250190ed71146c4a184547153a2e197e7204ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#ifndef CRU_PLATFORM_OSX
#error "This file can only be included on osx."
#endif

#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