Skip to content
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

Move NSData to ByteString conversion onto ByteString companion #1131

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

JakeWharton
Copy link
Member

This is a convenience for Objeective-C/Swift callers such that when a ByteString is exposed in your header you are also given this (and any future) conversion functions as automatically available.

Because SegmentedByteString relies on ByteString's internal constructor which is only avaialble in the actuals it must be duplicated in the two source sets.

Closes #1113

This is a convenience for Objeective-C/Swift callers such that when a ByteString is exposed in your header you are also given this (and any future) conversion functions as automatically available.

Because SegmentedByteString relies on ByteString's internal constructor which is only avaialble in the actuals it must be duplicated in the two source sets.
@@ -1,39 +1,221 @@
/*
* Copyright (C) 2020 Square, Inc.
* Copyright (C) 2018 Square, Inc.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This old file was deleted, the other file moved here with the same name, and the extension hand written at the bottom. It is not actually changed but git thinks it's being smart.

@JakeWharton JakeWharton merged commit 87957c5 into master Jul 25, 2022
@JakeWharton JakeWharton deleted the jw/red-delicious/2022-07-11 branch July 25, 2022 16:12
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.

ByteString exposed to Objective-C / Swift cannot see NSData helper
3 participants