diff options
author | crupest <crupest@outlook.com> | 2021-10-14 21:05:54 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-14 21:05:54 +0800 |
commit | 5ba45b02e1adee6b1ba15d70c9052cbc1f3c26c5 (patch) | |
tree | 5bc92750f30f4e3e97082a59cdbda065629f3ac8 /include/cru/osx/Convert.hpp | |
parent | 7ee9420d02be02868b10056753e046f42d022c96 (diff) | |
download | cru-5ba45b02e1adee6b1ba15d70c9052cbc1f3c26c5.tar.gz cru-5ba45b02e1adee6b1ba15d70c9052cbc1f3c26c5.tar.bz2 cru-5ba45b02e1adee6b1ba15d70c9052cbc1f3c26c5.zip |
...
Diffstat (limited to 'include/cru/osx/Convert.hpp')
-rw-r--r-- | include/cru/osx/Convert.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/cru/osx/Convert.hpp b/include/cru/osx/Convert.hpp new file mode 100644 index 00000000..6d2c0327 --- /dev/null +++ b/include/cru/osx/Convert.hpp @@ -0,0 +1,12 @@ +#pragma once +#include "Resource.hpp" + +#include <CoreFoundation/CFString.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 |