-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Use enums for Modes and RawModes in C #9100
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
Conversation
Co-authored-by: Hugo van Kemenade <[email protected]>
typedef enum { | ||
IMAGING_RAWMODE_UNKNOWN, | ||
|
||
// Non-rawmode aliases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this comment. RawModeID
isn't filled with items related to rawmodes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's that these are the same as modes, so that IMAGING_MODE_1
== IMAGING_RAWMODE_1
@radarhere Would you like to push eyedav#3 directly here? |
I tried, but for some reason I'm not sure of, I don't seem to have permission. |
It does say "Maintainers are allowed to edit this pull request" but 🤷 New PR? |
Rebase of PR #8510 (Use enums for Modes and RawModes in C) on latest main, done during EuroPython25's Sprint: creating a new PR as agreed with @wiredfool.