Skip to content

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