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

Add EncodeReturn, EncodeArgument and EncodeArguments #497

Merged
merged 1 commit into from
Sep 3, 2023

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Sep 3, 2023

Do a general refactoring around our unstable encoding traits, and expose some of them (since they were present in several public interfaces, including in block2), while we make the two conversion traits ConvertReturn and ConvertArgument in a sense "more" private.

This is working towards the design outlined in #457 (comment).

Another breaking change not noted in the changelog: encode::__unstable::EncodeReturn was removed, which would break block2 if upgraded in a non-breaking release.

@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates labels Sep 3, 2023
@madsmtm madsmtm force-pushed the refactor-encodings branch 8 times, most recently from 856cdcc to d5f9c31 Compare September 3, 2023 20:52
And make the two conversion traits ConvertReturn and ConvertArgument in a sense "more" private
@madsmtm madsmtm merged commit c4dfb53 into master Sep 3, 2023
19 checks passed
@madsmtm madsmtm deleted the refactor-encodings branch September 3, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant