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 easier support for ObjC blocks in p/invokes #6558

Closed
spouliot opened this issue Jul 11, 2019 · 2 comments
Closed

Add easier support for ObjC blocks in p/invokes #6558

spouliot opened this issue Jul 11, 2019 · 2 comments
Labels
enhancement The issue or pull request is an enhancement iOS Issues affecting Xamarin.iOS macOS Issues affecting Xamarin.Mac
Milestone

Comments

@spouliot
Copy link
Contributor

It's a lot of boilerplate code that's easy to get wrong (at compile or run time).

Either

  • have sharpie generate the required code;
  • have the generator (who already does it for ObjC) spit out the internal code needed based on a signature

I think I prefer the later... since the code already exists there (and any change would need to be done only once).

@spouliot spouliot added enhancement The issue or pull request is an enhancement macOS Issues affecting Xamarin.Mac iOS Issues affecting Xamarin.iOS labels Jul 11, 2019
@spouliot spouliot added this to the Future milestone Jul 11, 2019
@rolfbjarne
Copy link
Member

See also #4543

@rolfbjarne
Copy link
Member

Duplicate of #15783.

@rolfbjarne rolfbjarne closed this as not planned Won't fix, can't repro, duplicate, stale Sep 23, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement The issue or pull request is an enhancement iOS Issues affecting Xamarin.iOS macOS Issues affecting Xamarin.Mac
Projects
None yet
Development

No branches or pull requests

2 participants