Skip to content

Change defines to enum#914

Open
fmbiete wants to merge 1 commit intoEnterpriseDB:masterfrom
fmbiete:define_to_enum
Open

Change defines to enum#914
fmbiete wants to merge 1 commit intoEnterpriseDB:masterfrom
fmbiete:define_to_enum

Conversation

@fmbiete
Copy link
Copy Markdown

@fmbiete fmbiete commented Apr 5, 2026

Use C enum instead of preprocessor define, this will avoid having to get a unique value for each new option added which could overlap and cause errors.

Notice how in my other pull requests the 1051 action gets redefined in each of them... if this pull is merged before the others let me know and I will rebase to use the enum and avoid the error.

@fmbiete fmbiete requested a review from a team as a code owner April 5, 2026 07:41
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