Skip to content

Block subclassing - #7124

Merged
thomasvl merged 1 commit into
protocolbuffers:masterfrom
dmaclach:final
Jan 24, 2020
Merged

thomasvl merged 1 commit into
protocolbuffers:masterfrom
dmaclach:final

Conversation

@dmaclach

@dmaclach dmaclach commented Jan 23, 2020 •

Copy link
Copy Markdown
Contributor

Add GPB_FINAL macro to block subclassing of generated ObjC classes.

This will prevent subclassing of any of the protobuf classes generated by the compiler.
If you need to be able to do this, please let us know. You can temporarily "reenable" it by
redefining the GPB_FINAL macro.

Add GPB_FINAL macro to block subclassing of generated ObjC classes.

@thomasvl thomasvl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit needs up updated description since we will need to tag this for inclusion in release notes.

@dmaclach

Copy link
Copy Markdown
Contributor Author

Coment added.

@thomasvl
thomasvl merged commit f4a6b99 into protocolbuffers:master Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants