Skip to content

Constexpr over defines - #1413

Merged
Aidan63 merged 1 commit into
HaxeFoundation:masterfrom
Aidan63:constexpr_defines
Oct 7, 2026
Merged

Aidan63 merged 1 commit into
HaxeFoundation:masterfrom
Aidan63:constexpr_defines

Conversation

@Aidan63

@Aidan63 Aidan63 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Replaces some of the common defines with sized constexprs. The two in the header were moved out of the hx namespace for backwards compatibility as constexprs do respect namespaces while defines pollute the global namespace.

@Aidan63
Aidan63 merged commit cd5dc3b into HaxeFoundation:master Oct 7, 2026
144 of 145 checks passed
@Aidan63
Aidan63 deleted the constexpr_defines branch October 9, 2026 07:44
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