File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 13
13
#include "CFPriv.h"
14
14
#include "CFInternal.h"
15
15
16
+ #include <assert.h>
17
+
16
18
CONST_STRING_DECL (_kCFKnownLocationUserAny , " == _kCFKnownLocationUserAny" );
17
19
CONST_STRING_DECL (_kCFKnownLocationUserCurrent , " == _kCFKnownLocationUserCurrent" );
18
20
Original file line number Diff line number Diff line change 14
14
#include <CoreFoundation/CFURL.h>
15
15
16
16
CF_ASSUME_NONNULL_BEGIN
17
- CF_EXTERN_C_BEGIN
18
17
19
18
typedef CFStringRef CFKnownLocationUser CF_TYPED_EXTENSIBLE_ENUM ;
20
19
21
- CF_EXPORT
22
- const CFKnownLocationUser _kCFKnownLocationUserAny ;
20
+ extern const CFKnownLocationUser _kCFKnownLocationUserAny ;
23
21
24
- CF_EXPORT
25
- const CFKnownLocationUser _kCFKnownLocationUserCurrent ;
22
+ extern const CFKnownLocationUser _kCFKnownLocationUserCurrent ;
26
23
27
24
/* A note on support:
28
25
@@ -37,10 +34,8 @@ const CFKnownLocationUser _kCFKnownLocationUserCurrent;
37
34
See CFKnownLocations.c for a summary of what paths are returned.
38
35
*/
39
36
40
- CF_EXPORT
41
- CFURLRef _Nullable _CFKnownLocationCreatePreferencesURLForUser (CFKnownLocationUser user );
37
+ extern CFURLRef _Nullable _CFKnownLocationCreatePreferencesURLForUser (CFKnownLocationUser user );
42
38
43
- CF_EXTERN_C_END
44
39
CF_ASSUME_NONNULL_END
45
40
46
41
#endif /* __COREFOUNDATION_CFKNOWNLOCATIONS__ */
Original file line number Diff line number Diff line change 293
293
'String.subproj/CFRegularExpression.c' ,
294
294
'String.subproj/CFAttributedString.c' ,
295
295
'String.subproj/CFRunArray.c' ,
296
+ 'Base.subproj/CFKnownLocations.h' ,
296
297
]
297
298
298
299
sources = CompileSources (sources_list )
Original file line number Diff line number Diff line change 322
322
'CoreFoundation/String.subproj/CFAttributedString.c' ,
323
323
'CoreFoundation/String.subproj/CFRunArray.c' ,
324
324
'CoreFoundation/URL.subproj/CFURLSessionInterface.c' ,
325
+ 'CoreFoundation/Base.subproj/CFKnownLocations.c' ,
325
326
])
326
327
327
328
# This code is already in libdispatch so is only needed if libdispatch is
You can’t perform that action at this time.
0 commit comments