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

stb_vorbis.c: namespace macros? #1720

Open
slmjkdbtl opened this issue Nov 15, 2024 · 0 comments
Open

stb_vorbis.c: namespace macros? #1720

slmjkdbtl opened this issue Nov 15, 2024 · 0 comments

Comments

@slmjkdbtl
Copy link

Problem

Macros like C, L, R, CHECK are very common words and prone to collide with user defined macros

Possible Solution

Namespace these macros by adding prefix, like STB_VORBIS_?

Additional Context

Personally I use a C macro as a shortcut for creating colors like C(0xff00ff), C(255, 100, 255)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant