Skip to content

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

Merged
madsmtm merged 2 commits into
masterfrom
extern-class-name
Sep 2, 2022
Merged

Allow specifying ClassType::NAME in extern_class! macro#262
madsmtm merged 2 commits into
masterfrom
extern-class-name

Conversation

@madsmtm
Copy link
Copy Markdown
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