-
Notifications
You must be signed in to change notification settings - Fork 543
CoreFoundation macOS xcode26.0 b2
Alex Soto edited this page Jun 24, 2025
·
1 revision
#CoreFoundation.framework
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h 2025-06-01 23:44:11
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h 2025-06-14 00:14:52
@@ -155,9 +155,8 @@
*/
CF_EXPORT bool CFAttributedStringGetBidiLevelsAndResolvedDirections(CFAttributedStringRef attributedString, CFRange range, int8_t baseDirection, uint8_t *bidiLevels, uint8_t *baseDirections);
-/*! @function CFAttributedStringGetStatisticalWritingDirections
-If baseDirection is not NSWritingDirectionNatural, result comes from CFAttributedStringGetBidiLevelsAndResolvedDirections; otherwise, it fills bidiLevels by applying a statistical approach (a paragraph is RTL if 40% or more of its words are RTL) to the characters in range. Returns true if the result is not uni-level LTR (in other words, needing further Bidi processing). baseDirection is NSWritingDirection (NSWritingDirectionNatural, NSWritingDirectionLeftToRight, and NSWritingDirectionRightToLeft). Understands NSWritingDirectionAttributeName values.
-*/
+/// @function CFAttributedStringGetStatisticalWritingDirections
+/// @discussion If baseDirection is not NSWritingDirectionNatural, result comes from CFAttributedStringGetBidiLevelsAndResolvedDirections; otherwise, it fills bidiLevels by applying a statistical approach (a paragraph is RTL if 40% or more of its words are RTL) to the characters in range. Returns true if the result is not uni-level LTR (in other words, needing further Bidi processing). baseDirection is NSWritingDirection (NSWritingDirectionNatural, NSWritingDirectionLeftToRight, and NSWritingDirectionRightToLeft). Understands NSWritingDirectionAttributeName values.
CF_EXPORT bool CFAttributedStringGetStatisticalWritingDirections(CFAttributedStringRef attributedString, CFRange range, int8_t baseDirection, uint8_t *bidiLevels, uint8_t *baseDirections) API_AVAILABLE(macos(26.0), ios(26.0), watchos(26.0), tvos(26.0), visionos(26.0));
#endif
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h 2025-05-23 02:41:16
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h 2025-06-14 06:01:33
@@ -44,11 +44,11 @@
#error Do not know the endianess of this architecture
#endif
-#if !__BIG_ENDIAN__ && !__LITTLE_ENDIAN__
+#if !(defined(__BIG_ENDIAN__) && __BIG_ENDIAN__) && !(defined(__LITTLE_ENDIAN__) && __LITTLE_ENDIAN__)
#error Both __BIG_ENDIAN__ and __LITTLE_ENDIAN__ cannot be false
#endif
-#if __BIG_ENDIAN__ && __LITTLE_ENDIAN__
+#if (defined(__BIG_ENDIAN__) && __BIG_ENDIAN__) && (defined(__LITTLE_ENDIAN__) && __LITTLE_ENDIAN__)
#error Both __BIG_ENDIAN__ and __LITTLE_ENDIAN__ cannot be true
#endif
@@ -508,7 +508,7 @@
#define kCFCoreFoundationVersionNumber_iOS_9_x_Max 1299
#endif
-#if __LLP64__
+#if defined(__LLP64__) && __LLP64__
typedef unsigned long long CFTypeID;
typedef unsigned long long CFOptionFlags;
typedef unsigned long long CFHashCode;