diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-06-15 01:02:30 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-06-15 01:02:30 +0800 |
commit | d868d7b0d463ede80b761f87f10d4e25f52989c3 (patch) | |
tree | eb61e339f15b6b8b4cc1a246b4281631e701d6e0 /include/cru/base/platform | |
parent | 7ac84c9d200d43f50155ce1e8316ada12043f7a8 (diff) | |
download | cru-d868d7b0d463ede80b761f87f10d4e25f52989c3.tar.gz cru-d868d7b0d463ede80b761f87f10d4e25f52989c3.tar.bz2 cru-d868d7b0d463ede80b761f87f10d4e25f52989c3.zip |
Remove some files of OSX. Symbol Point is conflict and needs to be
fixed.
Diffstat (limited to 'include/cru/base/platform')
-rw-r--r-- | include/cru/base/platform/osx/Convert.h | 17 | ||||
-rw-r--r-- | include/cru/base/platform/osx/Exception.h | 14 |
2 files changed, 0 insertions, 31 deletions
diff --git a/include/cru/base/platform/osx/Convert.h b/include/cru/base/platform/osx/Convert.h deleted file mode 100644 index 6250190e..00000000 --- a/include/cru/base/platform/osx/Convert.h +++ /dev/null @@ -1,17 +0,0 @@ -#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 diff --git a/include/cru/base/platform/osx/Exception.h b/include/cru/base/platform/osx/Exception.h deleted file mode 100644 index c1037cc6..00000000 --- a/include/cru/base/platform/osx/Exception.h +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once - -#ifndef CRU_PLATFORM_OSX -#error "This file can only be included on osx." -#endif - -#include "../Exception.h" - -namespace cru::platform::osx { -class OsxException : public PlatformException { - public: - using PlatformException::PlatformException; -}; -} // namespace cru::platform::osx |