Skip to content

[CF] Rename remaining __kCFAllocatorTypeID_CONST. #2790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2020

Conversation

3405691582
Copy link
Member

@3405691582 3405691582 commented May 11, 2020

PR #2782 references symbol __kCFAllocatorTypeID_CONST in CFRuntime.c but
this was removed in #1708. After interpreting the commit, it looks like
this symbol was renamed to _kCFRuntimeIDCFAllocator. Therefore, make
this rename again.

PR swiftlang#2782 references symbol __kCFAllocatorTypeID_CONST in CFRuntime.c but
this was removed in swiftlang#1708. After interpreting the commit, it looks like
this symbol was renamed to _kCFRuntimeIDCFAllocator. Therefore, make
this rename again.
@millenomi
Copy link
Contributor

Why did this compile?

@3405691582
Copy link
Member Author

If I'm looking at it right, CFRelease just passes through to swift_release when DEPLOYMENT_RUNTIME_SWIFT, but I've been experimenting with standalone CF builds, which means DEPLOYMENT_RUNTIME_SWIFT is not set and the rest of the body of CFRelease is not compiled.

@millenomi
Copy link
Contributor

Ah, yeah, that makes sense.

@millenomi
Copy link
Contributor

@swift-ci please test and merge

1 similar comment
@millenomi
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit abcaf56 into swiftlang:master May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants