@@ -29,30 +29,19 @@ namespace swift { extern "C" {
29
29
#ifdef __OBJC2__
30
30
#if __LLP64__
31
31
typedef unsigned long long _swift_shims_CFTypeID;
32
- typedef unsigned long long _swift_shims_CFOptionFlags;
33
32
typedef unsigned long long _swift_shims_CFHashCode;
34
33
typedef signed long long _swift_shims_CFIndex;
35
34
#else
36
35
typedef unsigned long _swift_shims_CFTypeID;
37
- typedef unsigned long _swift_shims_CFOptionFlags;
38
36
typedef unsigned long _swift_shims_CFHashCode;
39
37
typedef signed long _swift_shims_CFIndex;
40
38
#endif
41
39
42
- typedef struct {
43
- _swift_shims_CFIndex location;
44
- _swift_shims_CFIndex length;
45
- } _swift_shims_CFRange;
46
-
47
40
typedef id _swift_shims_CFStringRef;
48
- typedef const struct _swift_shims_CFAllocator *_swift_shims_CFAllocatorRef;
49
41
typedef __swift_uint32_t _swift_shims_CFStringEncoding;
50
- typedef _swift_shims_CFOptionFlags _swift_shims_CFStringCompareFlags;
51
- typedef _swift_shims_CFIndex _swift_shims_CFComparisonResult;
52
42
53
43
// Consider creating SwiftMacTypes.h for these
54
44
typedef unsigned char _swift_shims_Boolean;
55
- typedef __swift_uint16_t _swift_shims_UniChar;
56
45
typedef __swift_uint8_t _swift_shims_UInt8;
57
46
58
47
SWIFT_RUNTIME_STDLIB_API
@@ -63,15 +52,6 @@ _swift_shims_CFStringRef _Nonnull _swift_stdlib_CFStringCreateWithBytes(
63
52
_swift_shims_CFStringEncoding encoding,
64
53
_swift_shims_Boolean isExternalRepresentation);
65
54
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
-
75
55
SWIFT_RUNTIME_STDLIB_API
76
56
__swift_uint8_t _swift_stdlib_isNSString (id _Nonnull obj);
77
57
0 commit comments