@@ -29,30 +29,19 @@ namespace swift { extern "C" {
2929#ifdef __OBJC2__
3030#if __LLP64__
3131typedef unsigned long long _swift_shims_CFTypeID;
32- typedef unsigned long long _swift_shims_CFOptionFlags;
3332typedef unsigned long long _swift_shims_CFHashCode;
3433typedef signed long long _swift_shims_CFIndex;
3534#else
3635typedef unsigned long _swift_shims_CFTypeID;
37- typedef unsigned long _swift_shims_CFOptionFlags;
3836typedef unsigned long _swift_shims_CFHashCode;
3937typedef signed long _swift_shims_CFIndex;
4038#endif
4139
42- typedef struct {
43- _swift_shims_CFIndex location;
44- _swift_shims_CFIndex length;
45- } _swift_shims_CFRange;
46-
4740typedef id _swift_shims_CFStringRef;
48- typedef const struct _swift_shims_CFAllocator *_swift_shims_CFAllocatorRef;
4941typedef __swift_uint32_t _swift_shims_CFStringEncoding;
50- typedef _swift_shims_CFOptionFlags _swift_shims_CFStringCompareFlags;
51- typedef _swift_shims_CFIndex _swift_shims_CFComparisonResult;
5242
5343// Consider creating SwiftMacTypes.h for these
5444typedef unsigned char _swift_shims_Boolean;
55- typedef __swift_uint16_t _swift_shims_UniChar;
5645typedef __swift_uint8_t _swift_shims_UInt8;
5746
5847SWIFT_RUNTIME_STDLIB_API
@@ -63,15 +52,6 @@ _swift_shims_CFStringRef _Nonnull _swift_stdlib_CFStringCreateWithBytes(
6352 _swift_shims_CFStringEncoding encoding,
6453 _swift_shims_Boolean isExternalRepresentation);
6554
66- SWIFT_RUNTIME_STDLIB_API
67- const char *_Nullable _swift_stdlib_CFStringGetCStringPtr (
68- _swift_shims_CFStringRef _Nonnull theString,
69- _swift_shims_CFStringEncoding encoding);
70-
71- SWIFT_RUNTIME_STDLIB_API
72- _swift_shims_CFStringRef _Nonnull _swift_stdlib_objcDebugDescription (
73- id _Nonnull nsObject);
74-
7555SWIFT_RUNTIME_STDLIB_API
7656__swift_uint8_t _swift_stdlib_isNSString (id _Nonnull obj);
7757
0 commit comments