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

Static functions #13

Open
wants to merge 14 commits into
base: semver-1.x
Choose a base branch
from
Open

Conversation

BenedictC
Copy link
Collaborator

By marking the functions as static we can do away with JREnumDefine/Declare and just use JREnum.

Is there a reason why the macros weren't initially implemented like this? I feel like I must be overlooking something as this seems to obvious to miss. The only downside I can think of is a slight increase in binary size as the functions will be included for each translation unit. Are there any others?

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