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 support for oneof #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Add support for oneof #7

wants to merge 4 commits into from

Conversation

yannroth
Copy link

Hi,

Thanks for your work on proto2cpp. I added support for oneof which I think is extremely useful in protobuf. Before, it was keeping them as oneof which was handled by doxygen poorly : it was removing the first member and reporting it as the initial value. As those are union in the C implementation, I thought it would be okay to have them as union in the documentation.

And I happened to have a member called "messages" which was replaced with "s" and the line converted to a "struct" declaration. So I fixed it by matching on words only for "message" and "enum" (and now "oneof" too).

Cheers,
Yann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant