Skip to content

Commit 8c16802

Browse files
committed
Merge remote-tracking branch 'origin/master' into swift-4.1-branch
2 parents e759ba5 + a4ca69e commit 8c16802

File tree

9 files changed

+51
-53
lines changed

9 files changed

+51
-53
lines changed

CoreFoundation/Base.subproj/CFFileUtilities.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ static CFStringRef _CFXDGCreateHome(void) {
11981198
}
11991199

12001200
/// a single base directory relative to which user-specific data files should be written. This directory is defined by the environment variable $XDG_DATA_HOME.
1201-
CF_SWIFT_EXPORT
1201+
CF_CROSS_PLATFORM_EXPORT
12021202
CFStringRef _CFXDGCreateDataHomePath(void) {
12031203
// $XDG_DATA_HOME defines the base directory relative to which user specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.
12041204
const char *dataHome = __CFgetenv("XDG_DATA_HOME");
@@ -1213,7 +1213,7 @@ CFStringRef _CFXDGCreateDataHomePath(void) {
12131213
}
12141214

12151215
/// a single base directory relative to which user-specific configuration files should be written. This directory is defined by the environment variable $XDG_CONFIG_HOME.
1216-
CF_SWIFT_EXPORT
1216+
CF_CROSS_PLATFORM_EXPORT
12171217
CFStringRef _CFXDGCreateConfigHomePath(void) {
12181218
// $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.
12191219
const char *configHome = __CFgetenv("XDG_CONFIG_HOME");
@@ -1228,7 +1228,7 @@ CFStringRef _CFXDGCreateConfigHomePath(void) {
12281228
}
12291229

12301230
/// a set of preference ordered base directories relative to which data files should be searched. This set of directories is defined by the environment variable $XDG_DATA_DIRS.
1231-
CF_SWIFT_EXPORT
1231+
CF_CROSS_PLATFORM_EXPORT
12321232
CFArrayRef _CFXDGCreateDataDirectoriesPaths(void) {
12331233
// $XDG_DATA_DIRS defines the preference-ordered set of base directories to search for data files in addition to the $XDG_DATA_HOME base directory. The directories in $XDG_DATA_DIRS should be seperated with a colon ':'.
12341234
// If $XDG_DATA_DIRS is either not set or empty, a value equal to /usr/local/share/:/usr/share/ should be used.
@@ -1252,7 +1252,7 @@ CFArrayRef _CFXDGCreateDataDirectoriesPaths(void) {
12521252

12531253

12541254
/// a set of preference ordered base directories relative to which configuration files should be searched. This set of directories is defined by the environment variable $XDG_CONFIG_DIRS.
1255-
CF_SWIFT_EXPORT
1255+
CF_CROSS_PLATFORM_EXPORT
12561256
CFArrayRef _CFXDGCreateConfigDirectoriesPaths(void) {
12571257
// $XDG_CONFIG_DIRS defines the preference-ordered set of base directories to search for configuration files in addition to the $XDG_CONFIG_HOME base directory. The directories in $XDG_CONFIG_DIRS should be seperated with a colon ':'.
12581258
// If $XDG_CONFIG_DIRS is either not set or empty, a value equal to /etc/xdg should be used.
@@ -1274,7 +1274,7 @@ CFArrayRef _CFXDGCreateConfigDirectoriesPaths(void) {
12741274
}
12751275

12761276
/// a single base directory relative to which user-specific non-essential (cached) data should be written. This directory is defined by the environment variable $XDG_CACHE_HOME.
1277-
CF_SWIFT_EXPORT
1277+
CF_CROSS_PLATFORM_EXPORT
12781278
CFStringRef _CFXDGCreateCacheDirectoryPath(void) {
12791279
//$XDG_CACHE_HOME defines the base directory relative to which user specific non-essential data files should be stored. If $XDG_CACHE_HOME is either not set or empty, a default equal to $HOME/.cache should be used.
12801280
const char *cacheHome = __CFgetenv("XDG_CACHE_HOME");
@@ -1290,7 +1290,7 @@ CFStringRef _CFXDGCreateCacheDirectoryPath(void) {
12901290
}
12911291

12921292
/// a single base directory relative to which user-specific runtime files and other file objects should be placed. This directory is defined by the environment variable $XDG_RUNTIME_DIR.
1293-
CF_SWIFT_EXPORT
1293+
CF_CROSS_PLATFORM_EXPORT
12941294
CFStringRef _CFXDGCreateRuntimeDirectoryPath(void) {
12951295
const char *runtimeDir = __CFgetenv("XDG_RUNTIME_DIR");
12961296
if (runtimeDir && strnlen(runtimeDir, CFMaxPathSize) > 1 && runtimeDir[0] == '/') {

CoreFoundation/Base.subproj/CFPlatform.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ _CFThreadRef _CFThreadCreate(const _CFThreadAttributes attrs, void *_Nullable (*
13191319
return thread;
13201320
}
13211321

1322-
CF_SWIFT_EXPORT int _CFThreadSetName(pthread_t thread, const char *_Nonnull name) {
1322+
CF_CROSS_PLATFORM_EXPORT int _CFThreadSetName(pthread_t thread, const char *_Nonnull name) {
13231323
#if DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_EMBEDDED_MINI
13241324
if (pthread_equal(pthread_self(), thread)) {
13251325
return pthread_setname_np(name);
@@ -1330,7 +1330,7 @@ CF_SWIFT_EXPORT int _CFThreadSetName(pthread_t thread, const char *_Nonnull name
13301330
#endif
13311331
}
13321332

1333-
CF_SWIFT_EXPORT int _CFThreadGetName(char *_Nonnull buf, int length) {
1333+
CF_CROSS_PLATFORM_EXPORT int _CFThreadGetName(char *_Nonnull buf, int length) {
13341334
#if DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_EMBEDDED_MINI
13351335
return pthread_getname_np(pthread_self(), buf, length);
13361336
#elif DEPLOYMENT_TARGET_ANDROID

CoreFoundation/Base.subproj/CFPriv.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@
2626
#include <CoreFoundation/CFSet.h>
2727
#include <math.h>
2828

29-
29+
#ifndef CF_CROSS_PLATFORM_EXPORT
30+
#if !DEPLOYMENT_RUNTIME_OBJC
31+
#define CF_CROSS_PLATFORM_EXPORT extern
32+
#else
33+
#define CF_CROSS_PLATFORM_EXPORT static __attribute__((used))
34+
#endif
35+
#endif
3036

3137
#if (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE || TARGET_OS_LINUX)) || (TARGET_OS_EMBEDDED || TARGET_OS_IPHONE)
3238
#include <CoreFoundation/CFMachPort.h>

CoreFoundation/Base.subproj/CFRuntime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,7 @@ static void _CFRelease(CFTypeRef CF_RELEASES_ARGUMENT cf) {
16521652
struct _CFSwiftBridge __CFSwiftBridge = { { NULL } };
16531653

16541654
// Call out to the CF-level finalizer, because the object is going to go away.
1655-
CF_SWIFT_EXPORT void _CFDeinit(CFTypeRef cf) {
1655+
CF_CROSS_PLATFORM_EXPORT void _CFDeinit(CFTypeRef cf) {
16561656
__CFInfoType info = atomic_load(&(((CFRuntimeBase *)cf)->_cfinfoa));
16571657
CFTypeID typeID = __CFTypeIDFromInfo(info);
16581658
CFRuntimeClass *cfClass = __CFRuntimeClassTable[typeID];

CoreFoundation/Base.subproj/ForFoundationOnly.h

Lines changed: 24 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@
3030
#include <math.h>
3131
#include <limits.h>
3232

33-
#ifndef CF_SWIFT_EXPORT
34-
#if DEPLOYMENT_RUNTIME_SWIFT
35-
#define CF_SWIFT_EXPORT extern
36-
#else
37-
#define CF_SWIFT_EXPORT static __attribute__((used))
38-
#endif
39-
#endif
40-
4133
#define _CF_EXPORT_SCOPE_BEGIN \
4234
CF_EXTERN_C_BEGIN \
4335
CF_ASSUME_NONNULL_BEGIN \
@@ -556,19 +548,19 @@ CF_INLINE CFHashCode _CFHashDouble(const double d) {
556548
}
557549

558550

559-
CF_SWIFT_EXPORT void _CFNumberInitBool(CFNumberRef result, Boolean value);
560-
CF_SWIFT_EXPORT void _CFNumberInitInt8(CFNumberRef result, int8_t value);
561-
CF_SWIFT_EXPORT void _CFNumberInitUInt8(CFNumberRef result, uint8_t value);
562-
CF_SWIFT_EXPORT void _CFNumberInitInt16(CFNumberRef result, int16_t value);
563-
CF_SWIFT_EXPORT void _CFNumberInitUInt16(CFNumberRef result, uint16_t value);
564-
CF_SWIFT_EXPORT void _CFNumberInitInt32(CFNumberRef result, int32_t value);
565-
CF_SWIFT_EXPORT void _CFNumberInitUInt32(CFNumberRef result, uint32_t value);
566-
CF_SWIFT_EXPORT void _CFNumberInitInt(CFNumberRef result, long value);
567-
CF_SWIFT_EXPORT void _CFNumberInitUInt(CFNumberRef result, unsigned long value);
568-
CF_SWIFT_EXPORT void _CFNumberInitInt64(CFNumberRef result, int64_t value);
569-
CF_SWIFT_EXPORT void _CFNumberInitUInt64(CFNumberRef result, uint64_t value);
570-
CF_SWIFT_EXPORT void _CFNumberInitFloat(CFNumberRef result, float value);
571-
CF_SWIFT_EXPORT void _CFNumberInitDouble(CFNumberRef result, double value);
551+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitBool(CFNumberRef result, Boolean value);
552+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitInt8(CFNumberRef result, int8_t value);
553+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitUInt8(CFNumberRef result, uint8_t value);
554+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitInt16(CFNumberRef result, int16_t value);
555+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitUInt16(CFNumberRef result, uint16_t value);
556+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitInt32(CFNumberRef result, int32_t value);
557+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitUInt32(CFNumberRef result, uint32_t value);
558+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitInt(CFNumberRef result, long value);
559+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitUInt(CFNumberRef result, unsigned long value);
560+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitInt64(CFNumberRef result, int64_t value);
561+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitUInt64(CFNumberRef result, uint64_t value);
562+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitFloat(CFNumberRef result, float value);
563+
CF_CROSS_PLATFORM_EXPORT void _CFNumberInitDouble(CFNumberRef result, double value);
572564

573565
/* These four functions are used by NSError in formatting error descriptions. They take NS or CFError as arguments and return a retained CFString or NULL.
574566
*/
@@ -581,9 +573,9 @@ CF_EXPORT void *__CFURLReservedPtr(CFURLRef url);
581573
CF_EXPORT void __CFURLSetReservedPtr(CFURLRef url, void *_Nullable ptr);
582574
CF_EXPORT CFStringEncoding _CFURLGetEncoding(CFURLRef url);
583575

584-
CF_SWIFT_EXPORT void _CFURLInitWithFileSystemPathRelativeToBase(CFURLRef url, CFStringRef fileSystemPath, CFURLPathStyle pathStyle, Boolean isDirectory, _Nullable CFURLRef baseURL);
585-
CF_SWIFT_EXPORT Boolean _CFURLInitWithURLString(CFURLRef url, CFStringRef string, Boolean checkForLegalCharacters, _Nullable CFURLRef baseURL);
586-
CF_SWIFT_EXPORT Boolean _CFURLInitAbsoluteURLWithBytes(CFURLRef url, const UInt8 *relativeURLBytes, CFIndex length, CFStringEncoding encoding, _Nullable CFURLRef baseURL);
576+
CF_CROSS_PLATFORM_EXPORT void _CFURLInitWithFileSystemPathRelativeToBase(CFURLRef url, CFStringRef fileSystemPath, CFURLPathStyle pathStyle, Boolean isDirectory, _Nullable CFURLRef baseURL);
577+
CF_CROSS_PLATFORM_EXPORT Boolean _CFURLInitWithURLString(CFURLRef url, CFStringRef string, Boolean checkForLegalCharacters, _Nullable CFURLRef baseURL);
578+
CF_CROSS_PLATFORM_EXPORT Boolean _CFURLInitAbsoluteURLWithBytes(CFURLRef url, const UInt8 *relativeURLBytes, CFIndex length, CFStringEncoding encoding, _Nullable CFURLRef baseURL);
587579

588580
CF_EXPORT Boolean _CFRunLoopFinished(CFRunLoopRef rl, CFStringRef mode);
589581
CF_EXPORT CFTypeRef _CFRunLoopGet2(CFRunLoopRef rl);
@@ -615,7 +607,7 @@ enum {
615607
// This is for NSNumberFormatter use only!
616608
CF_EXPORT void *_CFNumberFormatterGetFormatter(CFNumberFormatterRef formatter);
617609

618-
CF_SWIFT_EXPORT void _CFDataInit(CFMutableDataRef memory, CFOptionFlags variety, CFIndex capacity, const uint8_t *_Nullable bytes, CFIndex length, Boolean noCopy);
610+
CF_CROSS_PLATFORM_EXPORT void _CFDataInit(CFMutableDataRef memory, CFOptionFlags variety, CFIndex capacity, const uint8_t *_Nullable bytes, CFIndex length, Boolean noCopy);
619611
CF_EXPORT CFRange _CFDataFindBytes(CFDataRef data, CFDataRef dataToFind, CFRange searchRange, CFDataSearchFlags compareOptions);
620612

621613

@@ -660,7 +652,7 @@ CF_EXPORT CFTimeInterval CFGetSystemUptime(void);
660652
CF_EXPORT CFStringRef CFCopySystemVersionString(void);
661653
CF_EXPORT CFDictionaryRef _CFCopySystemVersionDictionary(void);
662654

663-
CF_SWIFT_EXPORT Boolean _CFCalendarInitWithIdentifier(CFCalendarRef calendar, CFStringRef identifier);
655+
CF_CROSS_PLATFORM_EXPORT Boolean _CFCalendarInitWithIdentifier(CFCalendarRef calendar, CFStringRef identifier);
664656
CF_EXPORT Boolean _CFCalendarComposeAbsoluteTimeV(CFCalendarRef calendar, /* out */ CFAbsoluteTime *atp, const char *componentDesc, int32_t *vector, int32_t count);
665657
CF_EXPORT Boolean _CFCalendarDecomposeAbsoluteTimeV(CFCalendarRef calendar, CFAbsoluteTime at, const char *componentDesc, int32_t *_Nonnull * _Nonnull vector, int32_t count);
666658
CF_EXPORT Boolean _CFCalendarAddComponentsV(CFCalendarRef calendar, /* inout */ CFAbsoluteTime *atp, CFOptionFlags options, const char *componentDesc, int32_t *vector, int32_t count);
@@ -676,14 +668,14 @@ typedef struct {
676668

677669
CF_EXPORT Boolean _CFCalendarGetNextWeekend(CFCalendarRef calendar, _CFCalendarWeekendRange *range);
678670

679-
CF_SWIFT_EXPORT Boolean _CFLocaleInit(CFLocaleRef locale, CFStringRef identifier);
671+
CF_CROSS_PLATFORM_EXPORT Boolean _CFLocaleInit(CFLocaleRef locale, CFStringRef identifier);
680672

681-
CF_SWIFT_EXPORT Boolean _CFTimeZoneInit(CFTimeZoneRef timeZone, CFStringRef name, _Nullable CFDataRef data);
673+
CF_CROSS_PLATFORM_EXPORT Boolean _CFTimeZoneInit(CFTimeZoneRef timeZone, CFStringRef name, _Nullable CFDataRef data);
682674

683-
CF_SWIFT_EXPORT Boolean _CFCharacterSetInitWithCharactersInRange(CFMutableCharacterSetRef cset, CFRange theRange);
684-
CF_SWIFT_EXPORT Boolean _CFCharacterSetInitWithCharactersInString(CFMutableCharacterSetRef cset, CFStringRef theString);
685-
CF_SWIFT_EXPORT Boolean _CFCharacterSetInitMutable(CFMutableCharacterSetRef cset);
686-
CF_SWIFT_EXPORT Boolean _CFCharacterSetInitWithBitmapRepresentation(CFMutableCharacterSetRef cset, CFDataRef theData);
675+
CF_CROSS_PLATFORM_EXPORT Boolean _CFCharacterSetInitWithCharactersInRange(CFMutableCharacterSetRef cset, CFRange theRange);
676+
CF_CROSS_PLATFORM_EXPORT Boolean _CFCharacterSetInitWithCharactersInString(CFMutableCharacterSetRef cset, CFStringRef theString);
677+
CF_CROSS_PLATFORM_EXPORT Boolean _CFCharacterSetInitMutable(CFMutableCharacterSetRef cset);
678+
CF_CROSS_PLATFORM_EXPORT Boolean _CFCharacterSetInitWithBitmapRepresentation(CFMutableCharacterSetRef cset, CFDataRef theData);
687679
CF_EXPORT CFIndex __CFCharDigitValue(UniChar ch);
688680

689681
CF_EXPORT int _CFOpenFileWithMode(const char *path, int opts, mode_t mode);

CoreFoundation/Base.subproj/ForSwiftFoundationOnly.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ typedef pthread_t _CFThreadRef;
316316

317317
CF_EXPORT _CFThreadRef _CFThreadCreate(const _CFThreadAttributes attrs, void *_Nullable (* _Nonnull startfn)(void *_Nullable), void *restrict _Nullable context);
318318

319-
CF_SWIFT_EXPORT int _CFThreadSetName(pthread_t thread, const char *_Nonnull name);
320-
CF_SWIFT_EXPORT int _CFThreadGetName(char *_Nonnull buf, int length);
319+
CF_CROSS_PLATFORM_EXPORT int _CFThreadSetName(pthread_t thread, const char *_Nonnull name);
320+
CF_CROSS_PLATFORM_EXPORT int _CFThreadGetName(char *_Nonnull buf, int length);
321321

322322
CF_EXPORT Boolean _CFCharacterSetIsLongCharacterMember(CFCharacterSetRef theSet, UTF32Char theChar);
323323
CF_EXPORT CFCharacterSetRef _CFCharacterSetCreateCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);
@@ -327,7 +327,7 @@ CF_EXPORT _Nullable CFErrorRef CFReadStreamCopyError(CFReadStreamRef stream);
327327

328328
CF_EXPORT _Nullable CFErrorRef CFWriteStreamCopyError(CFWriteStreamRef stream);
329329

330-
CF_SWIFT_EXPORT Boolean _CFBundleSupportsFHSBundles(void);
330+
CF_CROSS_PLATFORM_EXPORT Boolean _CFBundleSupportsFHSBundles(void);
331331

332332
// https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
333333
// Version 0.8

CoreFoundation/String.subproj/CFCharacterSet.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,11 +1708,11 @@ CFMutableCharacterSetRef CFCharacterSetCreateMutableCopy(CFAllocatorRef alloc, C
17081708
return __CFCharacterSetCreateCopy(alloc, theSet, true, true);
17091709
}
17101710

1711-
CF_SWIFT_EXPORT CFCharacterSetRef _CFCharacterSetCreateCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet) {
1711+
CF_CROSS_PLATFORM_EXPORT CFCharacterSetRef _CFCharacterSetCreateCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet) {
17121712
return __CFCharacterSetCreateCopy(alloc, theSet, false, false);
17131713
}
17141714

1715-
CF_SWIFT_EXPORT CFMutableCharacterSetRef _CFCharacterSetCreateMutableCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet) {
1715+
CF_CROSS_PLATFORM_EXPORT CFMutableCharacterSetRef _CFCharacterSetCreateMutableCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet) {
17161716
return __CFCharacterSetCreateCopy(alloc, theSet, true, false);
17171717
}
17181718

@@ -1758,7 +1758,7 @@ Boolean CFCharacterSetIsCharacterMember(CFCharacterSetRef theSet, UniChar theCha
17581758
return result;
17591759
}
17601760

1761-
CF_SWIFT_EXPORT Boolean _CFCharacterSetIsLongCharacterMember(CFCharacterSetRef theSet, UTF32Char theChar) {
1761+
CF_CROSS_PLATFORM_EXPORT Boolean _CFCharacterSetIsLongCharacterMember(CFCharacterSetRef theSet, UTF32Char theChar) {
17621762
CFIndex length;
17631763
UInt32 plane = (theChar >> 16);
17641764
Boolean isAnnexInverted = false;

CoreFoundation/URL.subproj/CFURLComponents.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static CFStringRef __CFURLComponentsCopyDescription(CFTypeRef cf) {
6666
return CFRetain(CFSTR("A really nice CFURLComponents object"));
6767
}
6868

69-
CF_SWIFT_EXPORT void __CFURLComponentsDeallocate(CFURLComponentsRef instance) {
69+
CF_CROSS_PLATFORM_EXPORT void __CFURLComponentsDeallocate(CFURLComponentsRef instance) {
7070
__CFGenericValidateType(instance, _CFURLComponentsGetTypeID());
7171

7272
if (instance->_urlString) CFRelease(instance->_urlString);

CoreFoundation/URL.subproj/CFURLComponents.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ CF_IMPLICIT_BRIDGING_ENABLED
2626
CF_EXTERN_C_BEGIN
2727
CF_ASSUME_NONNULL_BEGIN
2828

29-
#ifndef CF_SWIFT_EXPORT
29+
#ifndef CF_CROSS_PLATFORM_EXPORT
3030
#if DEPLOYMENT_RUNTIME_SWIFT
31-
#define CF_SWIFT_EXPORT extern
31+
#define CF_CROSS_PLATFORM_EXPORT extern
3232
#else
33-
#define CF_SWIFT_EXPORT static __attribute__((used))
33+
#define CF_CROSS_PLATFORM_EXPORT static __attribute__((used))
3434
#endif
3535
#endif
3636

3737
typedef struct __CFURLComponents *CFURLComponentsRef;
3838

3939
CF_EXPORT CFTypeID _CFURLComponentsGetTypeID(void);
4040

41-
CF_SWIFT_EXPORT void __CFURLComponentsDeallocate(CFURLComponentsRef);
41+
CF_CROSS_PLATFORM_EXPORT void __CFURLComponentsDeallocate(CFURLComponentsRef);
4242

4343
// URLComponents are always mutable.
4444
CF_EXPORT _Nullable CFURLComponentsRef _CFURLComponentsCreate(CFAllocatorRef alloc);

0 commit comments

Comments
 (0)