Skip to content

Allow specifying ClassType::NAME in extern_class! macro #262

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

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Sep 2, 2022

Similar to #259.

Personally, I'd always name the type the same thing, but I can see the utility in allowing the user control over this (and metal wants to control this with extern_protocol! from #250)

@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates labels Sep 2, 2022
@madsmtm madsmtm merged commit d45df34 into master Sep 2, 2022
@madsmtm madsmtm deleted the extern-class-name branch September 2, 2022 12:19
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