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

Make EVT macros easier to read and write #1154

Merged
merged 7 commits into from
Jan 21, 2024
Merged

Make EVT macros easier to read and write #1154

merged 7 commits into from
Jan 21, 2024

Conversation

bates64
Copy link
Member

@bates64 bates64 commented Jan 20, 2024

By popular demand!

This PR renames all the EVT macros, such as EVT_CALL, to a prefixless CamelCase equivalent.
Also,EVT_PTR is called Ref now because it's really a reference.

This was chosen because PascalCase is used for EVT things in other contexts, such as for API callable function names and in expressions like LVar0.


Forks can apply these renames themselves by running the following script after merge:

./tools/rename.py tools/renames/0_evt_macros_remove_prefix_and_make_pascal_case.txt

@bates64 bates64 merged commit 9574bae into main Jan 21, 2024
3 checks passed
@bates64 bates64 deleted the evt-prefixless branch January 21, 2024 13:04
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