JREnum
JREnum copied to clipboard
Static functions
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?