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

#[derive(Encode, RefEncode)] #123

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

#[derive(Encode, RefEncode)] #123

wants to merge 3 commits into from

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Jan 17, 2022

See #55.

This is an important step for actually getting a userbase - the plan is (maybe) to submit a PR to core-foundation-rs so that they (behind feature flags) implement objc::Encode and/or objc2_encode::[Ref]Encode.

TODO:

  • Figure out the safety of this!
  • Proper error handling
  • Testing user experience (related to above)
  • Generics
  • Special c_ulong handling
  • Objects (so that objc2-foundation's approach would work - they are marked repr(C) though they really should be repr(transparent) when extern types become a thing)

@madsmtm madsmtm added the enhancement New feature or request label Jan 17, 2022
@madsmtm madsmtm force-pushed the derive-encode branch 2 times, most recently from 26c9991 to 28e605c Compare January 19, 2022 16:49
@madsmtm madsmtm marked this pull request as draft June 16, 2022 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant