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

Optionally generate Python enumerations via a command-line switch #9

Open
lhearachel opened this issue Jan 2, 2025 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@lhearachel
Copy link
Owner

This would support outputting a Python enumeration in addition to the typical C enumeration. Some implementation details:

  • StrEnum need not be supported, since metang only works with integral enumerations.
  • IntEnum should be the default enum subclass.
  • --bitmask invocations should be output as IntFlag.
@lhearachel lhearachel added the enhancement New feature or request label Jan 2, 2025
@lhearachel lhearachel added this to the 1.0.0 milestone Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant