From 600307d3d0133accc3aaceed694e897ad48cd584 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sat, 16 Aug 2025 19:24:11 +0800 Subject: Move Core Foundation string out of cru String. Still error. --- include/cru/base/String.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include/cru/base/String.h') diff --git a/include/cru/base/String.h b/include/cru/base/String.h index 49c96c4a..21a3db51 100644 --- a/include/cru/base/String.h +++ b/include/cru/base/String.h @@ -14,11 +14,6 @@ #include #include -#ifdef CRU_PLATFORM_OSX -#include -#include -#endif - namespace cru { class StringView; @@ -242,11 +237,6 @@ class CRU_BASE_API String { } #endif -#ifdef CRU_PLATFORM_OSX - CFWrapper ToCFStringRef() const; - static String FromCFStringRef(CFStringRef string); -#endif - template String Format(T&&... args) const; @@ -390,10 +380,6 @@ class CRU_BASE_API StringView { std::string ToUtf8() const; Buffer ToUtf8Buffer(bool end_zero = true) const; -#ifdef CRU_PLATFORM_OSX - CFWrapper ToCFStringRef() const; -#endif - private: const char16_t* ptr_; Index size_; -- cgit v1.2.3