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

Consider enum macros #3

Open
SeekyCt opened this issue Jan 1, 2023 · 0 comments
Open

Consider enum macros #3

SeekyCt opened this issue Jan 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@SeekyCt
Copy link
Owner

SeekyCt commented Jan 1, 2023

Decomp has to use raw types since enum sizes can't be forced, but mods could use explicitly sized enums
Could look something like

enum NameHere SIZED_ENUM(s32) { ... }

(expanding to nothing in decomp, and : s32 in mods)

ENUM(NameHere, s32) someVar;

(expanding to s32 in decomp and NameHere in mods)

This does add a lot of mess for questionable benefit though

@SeekyCt SeekyCt added the enhancement New feature or request label Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant