From d868d7b0d463ede80b761f87f10d4e25f52989c3 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 15 Jun 2025 01:02:30 +0800 Subject: Remove some files of OSX. Symbol Point is conflict and needs to be fixed. --- include/cru/base/platform/osx/Convert.h | 17 ----------------- include/cru/base/platform/osx/Exception.h | 14 -------------- 2 files changed, 31 deletions(-) delete mode 100644 include/cru/base/platform/osx/Convert.h delete mode 100644 include/cru/base/platform/osx/Exception.h (limited to 'include/cru/base/platform') 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 - -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 -- cgit v1.2.3