Skip to content

CoreFoundation iOS xcode15.0 b6

Manuel de la Pena edited this page Aug 26, 2023 · 3 revisions

#CoreFoundation.framework https://github.com/xamarin/xamarin-macios/pull/18839

diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h	2023-07-14 23:08:57
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h	2023-07-30 14:06:43
@@ -16,7 +16,7 @@
 #include <TargetConditionals.h>
 #endif
 
-#if __has_include(<Availability.h>) && __has_include(<os/availability.h>) && __has_include(<AvailabilityMacros.h>) && (!0 || !0)
+#if __has_include(<Availability.h>) && __has_include(<os/availability.h>) && __has_include(<AvailabilityMacros.h>) && !0
 #include <Availability.h>
 #include <os/availability.h>
 // Even if unused, these must remain here for compatibility, because projects rely on them being included.
diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h	2023-07-14 23:08:57
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h	2023-08-01 11:50:02
@@ -12,7 +12,7 @@
 #include <CoreFoundation/CFString.h>
 #include <CoreFoundation/CFURL.h>
 
-#if TARGET_OS_MAC && (!0 || !0)
+#if TARGET_OS_MAC && !0
 #include <mach/machine.h>
 #endif
 
@@ -302,7 +302,7 @@
     /* app to ship versions of the tool for each platform as it does for the */
     /* main app executable. */
 
-#if TARGET_OS_MAC && (!0 || !0)
+#if TARGET_OS_MAC && !0
 CF_EXPORT
 Boolean CFBundleIsExecutableLoadable(CFBundleRef bundle) API_AVAILABLE(macos(11.0)) API_UNAVAILABLE(ios, watchos, tvos);
 
diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h	2023-07-19 01:45:16
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h	2023-08-01 11:50:02
@@ -60,7 +60,7 @@
 #endif
 #endif
 
-#if (!0 || !0)
+#if !0
 
 typedef struct {
     SInt32 year;
diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h	2023-07-14 22:54:50
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h	2023-08-01 11:30:31
@@ -181,7 +181,7 @@
 // Values for kCFLocaleCalendarIdentifier
 typedef CFStringRef CFCalendarIdentifier CF_STRING_ENUM;
 
-#if !0 || !0
+#if !0
 CF_EXPORT const CFCalendarIdentifier kCFGregorianCalendar;
 CF_EXPORT const CFCalendarIdentifier kCFBuddhistCalendar;
 CF_EXPORT const CFCalendarIdentifier kCFChineseCalendar;
diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h	2023-07-14 19:53:45
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h	2023-07-30 13:13:47
@@ -37,11 +37,11 @@
 
 CF_EXPORT CFNotificationCenterRef CFNotificationCenterGetLocalCenter(void);
 
-#if (TARGET_OS_OSX || TARGET_OS_WIN32) && (!0 || !0)
+#if (TARGET_OS_OSX || TARGET_OS_WIN32) && !0
 CF_EXPORT CFNotificationCenterRef CFNotificationCenterGetDistributedCenter(void);
 #endif
 
-#if !0 || !0
+#if !0
 CF_EXPORT CFNotificationCenterRef CFNotificationCenterGetDarwinNotifyCenter(void);
 // The Darwin Notify Center is based on the <notify.h> API.
 // For this center, there are limitations in the API. There are no notification "objects",
diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h	2023-07-14 22:54:49
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h	2023-07-30 14:06:44
@@ -14,7 +14,7 @@
 #include <CoreFoundation/CFData.h>
 #include <CoreFoundation/CFString.h>
 #include <CoreFoundation/CFError.h>
-#if (!0 || !0)
+#if !0
 #include <CoreFoundation/CFStream.h>
 #endif
 
@@ -82,7 +82,7 @@
 Boolean CFPropertyListIsValid(CFPropertyListRef plist, CFPropertyListFormat format);
 
 CF_IMPLICIT_BRIDGING_DISABLED
-#if (!0 || !0)
+#if !0
 
 /* Writes the bytes of a plist serialization out to the stream.  The
  * stream must be opened and configured -- the function simply writes
@@ -130,7 +130,7 @@
 CF_EXPORT
 CFPropertyListRef CFPropertyListCreateWithData(CFAllocatorRef allocator, CFDataRef data, CFOptionFlags options, CFPropertyListFormat *format, CFErrorRef *error) API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
 
-#if (!0 || !0)
+#if !0
 
 /* Create and return a property list with a CFReadStream input. If the format parameter is non-NULL, it will be set to the format of the data after parsing is complete. The options parameter is used to specify CFPropertyListMutabilityOptions. The streamLength parameter specifies the number of bytes to read from the stream. Set streamLength to 0 to read until the end of the stream is detected. If an error occurs while parsing the data, the return value will be NULL. Additionally, if an error occurs and the error parameter is non-NULL, the error parameter will be set to a CFError describing the problem, which the caller must release. If the parse succeeds, the returned value is a reference to the new property list. It is the responsibility of the caller to release this value.
  */
diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h	2023-07-14 23:02:04
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h	2023-08-01 11:50:02
@@ -550,7 +550,7 @@
 CF_EXPORT
 void CFStringGetParagraphBounds(CFStringRef string, CFRange range, CFIndex *parBeginIndex, CFIndex *parEndIndex, CFIndex *contentsEndIndex) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
 
-#if (!0 || !0)
+#if !0
 /*!
 	@function CFStringGetHyphenationLocationBeforeIndex
 	Retrieve the first potential hyphenation location found before the specified location.
@@ -742,7 +742,7 @@
 CF_EXPORT
 void CFStringFold(CFMutableStringRef theString, CFStringCompareFlags theFlags, CFLocaleRef theLocale) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
 
-#if !0 || !0
+#if !0
 /* Perform string transliteration.  The transformation represented by transform is applied to the given range of string, modifying it in place. Only the specified range will be modified, but the transform may look at portions of the string outside that range for context. NULL range pointer causes the whole string to be transformed. On return, range is modified to reflect the new range corresponding to the original range. reverse indicates that the inverse transform should be used instead, if it exists. If the transform is successful, true is returned; if unsuccessful, false. Reasons for the transform being unsuccessful include an invalid transform identifier, or attempting to reverse an irreversible transform.
 
 You can pass one of the predefined transforms below, or any valid ICU transform ID as defined in the ICU User Guide. Note that we do not support arbitrary set of ICU transform rules.
diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h	2023-07-14 19:51:41
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h	2023-08-01 04:04:34
@@ -490,7 +490,7 @@
 #endif
 
 #if TARGET_OS_MAC || CF_BUILDING_CF || NSBUILDINGFOUNDATION || DEPLOYMENT_TARGET_SWIFT
-#if (!0 || !0)
+#if !0
 CF_IMPLICIT_BRIDGING_DISABLED
 
 /* Resource access
diff -ruN /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
--- /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h	2023-07-19 01:51:40
+++ /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h	2023-08-01 11:30:29
@@ -22,12 +22,12 @@
 #include <errno.h>
 #include <float.h>
 #include <limits.h>
-#if (!0 || !0)
+#if !0
 #include <locale.h>
 #endif
 #include <math.h>
 #include <setjmp.h>
-#if (!0 || !0)
+#if !0
 #include <signal.h>
 #endif
 #include <stddef.h>
@@ -57,21 +57,21 @@
 #include <CoreFoundation/CFBinaryHeap.h>
 #include <CoreFoundation/CFBitVector.h>
 #include <CoreFoundation/CFByteOrder.h>
-#if (!0 || !0)
+#if !0
 #include <CoreFoundation/CFCalendar.h>
 #endif
 #include <CoreFoundation/CFCGTypes.h>
 #include <CoreFoundation/CFCharacterSet.h>
 #include <CoreFoundation/CFData.h>
 #include <CoreFoundation/CFDate.h>
-#if (!0 || !0)
+#if !0
 #include <CoreFoundation/CFDateFormatter.h>
 #endif
 #include <CoreFoundation/CFDictionary.h>
 #include <CoreFoundation/CFError.h>
 #include <CoreFoundation/CFLocale.h>
 #include <CoreFoundation/CFNumber.h>
-#if (!0 || !0)
+#if !0
 #include <CoreFoundation/CFNumberFormatter.h>
 #include <CoreFoundation/CFPreferences.h>
 #endif
@@ -79,19 +79,19 @@
 #include <CoreFoundation/CFSet.h>
 #include <CoreFoundation/CFString.h>
 #include <CoreFoundation/CFStringEncodingExt.h>
-#if (!0 || !0)
+#if !0
 #include <CoreFoundation/CFTimeZone.h>
 #endif
 #include <CoreFoundation/CFTree.h>
 #include <CoreFoundation/CFURL.h>
 #include <CoreFoundation/CFURLAccess.h>
-#if (!0 || !0)
+#if !0
 #include <CoreFoundation/CFUUID.h>
 #include <CoreFoundation/CFUtilities.h>
 #endif
 #include <CoreFoundation/CFBundle.h>
 
-#if (TARGET_OS_OSX || TARGET_OS_IPHONE || TARGET_OS_WIN32) && (!0 || !0)
+#if (TARGET_OS_OSX || TARGET_OS_IPHONE || TARGET_OS_WIN32) && !0
 #include <CoreFoundation/CFMessagePort.h>
 #include <CoreFoundation/CFPlugIn.h>
 #include <CoreFoundation/CFRunLoop.h>
@@ -99,21 +99,21 @@
 #include <CoreFoundation/CFSocket.h>
 #include <CoreFoundation/CFMachPort.h>
 #endif
-#if (TARGET_OS_OSX || TARGET_OS_IPHONE || TARGET_OS_WIN32 || (0 && 0))
+#if (TARGET_OS_OSX || TARGET_OS_IPHONE || TARGET_OS_WIN32 || 0)
 #include <CoreFoundation/CFAttributedString.h>
 #endif
-#if (TARGET_OS_OSX || TARGET_OS_IPHONE || TARGET_OS_WIN32) && (!0 || !0)
+#if (TARGET_OS_OSX || TARGET_OS_IPHONE || TARGET_OS_WIN32) && !0
 #ifndef CF_OPEN_SOURCE
 #include <CoreFoundation/CFURLEnumerator.h>
 #endif
 
 #endif
 
-#if (TARGET_OS_OSX || TARGET_OS_IPHONE || TARGET_OS_WIN32 || (0 && 0))
+#if (TARGET_OS_OSX || TARGET_OS_IPHONE || TARGET_OS_WIN32 || 0)
 #include <CoreFoundation/CFNotificationCenter.h>
 #endif
 
-#if (TARGET_OS_OSX || TARGET_OS_IPHONE) && (!0 || !0)
+#if (TARGET_OS_OSX || TARGET_OS_IPHONE) && !0
 #ifndef CF_OPEN_SOURCE
 #include <CoreFoundation/CFFileSecurity.h>
 #include <CoreFoundation/CFStringTokenizer.h>
@@ -121,7 +121,7 @@
 #endif
 #endif
 
-#if (!0 || !0)
+#if !0
 #include <CoreFoundation/CFUserNotification.h>
 #include <CoreFoundation/CFXMLNode.h>
 #include <CoreFoundation/CFXMLParser.h>
Clone this wiki locally