aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-15 01:02:30 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-15 01:02:30 +0800
commitd868d7b0d463ede80b761f87f10d4e25f52989c3 (patch)
treeeb61e339f15b6b8b4cc1a246b4281631e701d6e0 /include/cru/base/platform
parent7ac84c9d200d43f50155ce1e8316ada12043f7a8 (diff)
downloadcru-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.h17
-rw-r--r--include/cru/base/platform/osx/Exception.h14
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