Skip to content

Commit 6ac932b

Browse files
millenomimundaym
authored andcommitted
Do not use CDispatch symbols in the interface.
1 parent e688d18 commit 6ac932b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CoreFoundation/Parsing.subproj/CFXMLInterface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void _CFSetupXMLInterface(void) {
140140
#endif // DEPLOYMENT_RUNTIME_SWIFT
141141
}
142142

143-
void _CFSetupXMLBridgeIfNeededUsingBlock(dispatch_block_t block) {
143+
void _CFSetupXMLBridgeIfNeededUsingBlock(void (^block)(void)) {
144144
#if DEPLOYMENT_RUNTIME_SWIFT
145145
static dispatch_once_t bridgeInitGuard;
146146
dispatch_once(&bridgeInitGuard, block);

CoreFoundation/Parsing.subproj/CFXMLInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ typedef _CFXMLInterfaceParserInput _Nonnull (*_CFXMLInterfaceExternalEntityLoade
9797
typedef void (*_CFXMLInterfaceStructuredErrorFunc)(_CFXMLInterface ctx, _CFXMLInterfaceError error);
9898

9999
void _CFSetupXMLInterface(void);
100-
void _CFSetupXMLBridgeIfNeededUsingBlock(dispatch_block_t block);
100+
void _CFSetupXMLBridgeIfNeededUsingBlock(void (^block)(void));
101101

102102
_CFXMLInterfaceParserInput _CFXMLInterfaceNoNetExternalEntityLoader(const char *URL, const char *ID, _CFXMLInterfaceParserContext ctxt);
103103
_CFXMLInterfaceSAXHandler _CFXMLInterfaceCreateSAXHandler(void);

0 commit comments

Comments
 (0)