Skip to content

Add CTR_ prefix to ALIGN,PACKED,DEPRECATED macros#532

Merged
fincs merged 2 commits into
devkitPro:masterfrom
glebm:prefix-macros
Oct 11, 2023
Merged

Add CTR_ prefix to ALIGN,PACKED,DEPRECATED macros#532
fincs merged 2 commits into
devkitPro:masterfrom
glebm:prefix-macros

Conversation

@glebm

@glebm glebm commented Sep 12, 2023

Copy link
Copy Markdown
Contributor

The mitigates compatibility issues with other libraries, such as the one seen in #530.

The BIT macro is kept because it is commonly used, so renaming it would be too breaking of a change (see
#531 (comment))

Fixes #530

The mitigates compatibility issues with other libraries, such as the one seen in devkitPro#530.

The `BIT` macro is kept because it is commonly used, so renaming it
would be too breaking of a change (see
devkitPro#531 (comment))

Fixes devkitPro#530
@WinterMute

Copy link
Copy Markdown
Member

We're leaning towards possibly CTR_ rather than LIBCTRU_

Any opinions?

@fincs

fincs commented Oct 11, 2023

Copy link
Copy Markdown
Member

If the prefix introduced here is renamed to CTR_, I'd say this PR can be merged.

@fincs fincs changed the title Prefix macros: LIBCTRU_{ALIGN,PACKED,DEPRECATED} Add CTR_ prefix to ALIGN,PACKED,DEPRECATED macros Oct 11, 2023
@fincs fincs merged commit 41e31d3 into devkitPro:master Oct 11, 2023
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.

Global macros clash with other things

3 participants