-
Notifications
You must be signed in to change notification settings - Fork 549
CoreFoundation iOS xcode16.0 b2
Rolf Bjarne Kvinge edited this page Jun 26, 2024
·
2 revisions
#CoreFoundation.framework
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h 2024-05-30 04:43:13
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h 2024-06-15 11:31:23
@@ -180,19 +180,11 @@
#define _CF_TYPED_EXTENSIBLE_ENUM
#endif
-#if DEPLOYMENT_RUNTIME_SWIFT
-#define CF_STRING_ENUM
-#define CF_EXTENSIBLE_STRING_ENUM
-
-#define CF_TYPED_ENUM
-#define CF_TYPED_EXTENSIBLE_ENUM
-#else
#define CF_STRING_ENUM _CF_TYPED_ENUM
#define CF_EXTENSIBLE_STRING_ENUM _CF_TYPED_EXTENSIBLE_ENUM
#define CF_TYPED_ENUM _CF_TYPED_ENUM
#define CF_TYPED_EXTENSIBLE_ENUM _CF_TYPED_EXTENSIBLE_ENUM
-#endif
#define __CF_ERROR_ENUM_GET_MACRO(_1, _2, NAME, ...) NAME
#if ((__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && __has_feature(objc_fixed_enum))) && __has_attribute(ns_error_domain)
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h 2024-05-30 03:25:14
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h 2024-06-15 08:27:53
@@ -80,22 +80,16 @@
#include <MacTypes.h>
#endif
#else
- #if (TARGET_OS_OSX || TARGET_OS_IPHONE) && !DEPLOYMENT_RUNTIME_SWIFT
+ #if (TARGET_OS_OSX || TARGET_OS_IPHONE)
#include <libkern/OSTypes.h>
#endif
#endif
#if !defined(__MACTYPES__)
#if !defined(_OS_OSTYPES_H)
-#if DEPLOYMENT_RUNTIME_SWIFT || 0
-#if defined(__cplusplus)
- typedef bool Boolean;
-#else
- typedef _Bool Boolean;
-#endif //defined(__cplusplus)
-#else
+
typedef unsigned char Boolean;
-#endif
+
typedef unsigned char UInt8;
typedef signed char SInt8;
typedef unsigned short UInt16;
@@ -686,14 +680,11 @@
CF_EXPORT
void CFRelease(CFTypeRef cf);
-#if DEPLOYMENT_RUNTIME_SWIFT
-#else
CF_EXPORT
CFTypeRef CFAutorelease(CFTypeRef CF_RELEASES_ARGUMENT arg) API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0));
CF_EXPORT
CFIndex CFGetRetainCount(CFTypeRef cf);
-#endif
CF_EXPORT
Boolean CFEqual(CFTypeRef cf1, CFTypeRef cf2);
@@ -714,12 +705,6 @@
CFTypeRef CFMakeCollectable(CFTypeRef cf) CF_AUTOMATED_REFCOUNT_UNAVAILABLE;
CF_EXTERN_C_END
-
-#if DEPLOYMENT_RUNTIME_SWIFT
-
-#define _CF_SWIFT_RC_PINNED_FLAG (0x1)
-#define _CF_CONSTANT_OBJECT_STRONG_RC ((uintptr_t)_CF_SWIFT_RC_PINNED_FLAG)
-#endif
#if __has_include(<ptrauth.h>)
#include <ptrauth.h>
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h 2024-05-30 02:24:12
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h 2024-06-15 11:16:13
@@ -154,52 +154,10 @@
#endif
#endif
-#if DEPLOYMENT_RUNTIME_SWIFT
- #if TARGET_OS_MAC
- #define _CF_CONSTANT_STRING_SWIFT_CLASS $s15SwiftFoundation19_NSCFConstantStringCN
- #else
- #define _CF_CONSTANT_STRING_SWIFT_CLASS $s10Foundation19_NSCFConstantStringCN
- #endif
-
-CF_EXPORT void *_CF_CONSTANT_STRING_SWIFT_CLASS[];
-#endif
-
-#if DEPLOYMENT_RUNTIME_SWIFT && TARGET_OS_MAC
-
-struct __CFConstStr {
- struct {
- __ptrauth_cf_objc_isa_pointer uintptr_t _cfisa;
- uintptr_t _swift_rc;
- uint64_t _cfinfoa;
- } _base;
- uint8_t *_ptr;
-#if TARGET_RT_64_BIT && defined(__BIG_ENDIAN__)
- uint64_t _length;
-#else // 32-bit:
- uint32_t _length;
-#endif // TARGET_RT_64_BIT && defined(__BIG_ENDIAN__)
-};
-
-#if __BIG_ENDIAN__
-#define CFSTR(cStr) ({ \
- static struct __CFConstStr str = {{(uintptr_t)&_CF_CONSTANT_STRING_SWIFT_CLASS, _CF_CONSTANT_OBJECT_STRONG_RC, 0x00000000C8070000}, (uint8_t *)(cStr), sizeof(cStr) - 1}; \
- (CFStringRef)&str; \
-})
-#else // Little endian:
-#define CFSTR(cStr) ({ \
- static struct __CFConstStr str = {{(uintptr_t)&_CF_CONSTANT_STRING_SWIFT_CLASS, _CF_CONSTANT_OBJECT_STRONG_RC, 0x07C8}, (uint8_t *)(cStr), sizeof(cStr) - 1}; \
- (CFStringRef)&str; \
-})
-#endif // __BIG_ENDIAN__
-
-#else
-
#ifdef __CONSTANT_CFSTRINGS__
#define CFSTR(cStr) ((CFStringRef) __builtin___CFStringMakeConstantString ("" cStr ""))
#else
#define CFSTR(cStr) __CFStringMakeConstantString("" cStr "")
-#endif
-
#endif
#if defined(__GNUC__) && (__GNUC__*10+__GNUC_MINOR__ >= 42) && defined(__APPLE_CC__) && (__APPLE_CC__ > 1) && !defined(__INTEL_COMPILER) && TARGET_OS_MAC
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h 2024-05-30 02:24:12
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h 2024-06-15 08:28:47
@@ -489,7 +489,7 @@
#endif
#endif
-#if TARGET_OS_MAC || CF_BUILDING_CF || NSBUILDINGFOUNDATION || DEPLOYMENT_TARGET_SWIFT
+#if TARGET_OS_MAC || CF_BUILDING_CF || NSBUILDINGFOUNDATION
#if !0
CF_IMPLICIT_BRIDGING_DISABLED
@@ -1210,8 +1210,6 @@
const CFStringRef kCFURLUbiquitousItemDownloadingStatusCurrent API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0));
/* there is a local version of this item and it is the most up-to-date version known to this device. */
-#if !DEPLOYMENT_TARGET_SWIFT
-
typedef CF_OPTIONS(CFOptionFlags, CFURLBookmarkCreationOptions) {
kCFURLBookmarkCreationMinimalBookmarkMask = ( 1UL << 9 ), // creates bookmark data with "less" information, which may be smaller but still be able to resolve in certain ways
kCFURLBookmarkCreationSuitableForBookmarkFile = ( 1UL << 10 ), // include the properties required by CFURLWriteBookmarkDataToFile() in the bookmark data created
@@ -1285,7 +1283,6 @@
CF_EXPORT
void CFURLStopAccessingSecurityScopedResource(CFURLRef url) API_AVAILABLE(macos(10.7), ios(8.0), watchos(2.0), tvos(9.0)); // On OSX, available in MacOS X 10.7.3 and later
-#endif /* !DEPLOYMENT_TARGET_SWIFT */
#endif
#endif /* TARGET_OS_MAC || CF_BUILDING_CF || NSBUILDINGFOUNDATION || DEPLOYMENT_TARGET_SWIFT */