rename ENABLE_DEBUG to MRB_DEFINE_HOOKS#3014
Conversation
Here are some reasons why it should be renamed: - ENABLE_DEBUG isn't prefixed (possible name clash with other libs) - the enable_debug build config method is totally unrelated to this - the new name MRB_DEFINE_HOOKS is more precise ENABLE_DEBUG and DISABLE_DEBUG will still work for backward compatibility but mruby users should update their code. E.g. to `#if defined MRB_DEFINE_HOOKS || defined ENABLE_DEBUG`.
|
It's OK to rename it, but I don't think |
|
And what do you think about another |
|
In any case, I think it should be prefixed with |
|
What about What do you think about |
|
Or |
|
I picked |
|
Okay. By the way, I've proposed |
|
@zzak probably I will rename |
Here are some reasons why it should be renamed:
ENABLE_DEBUGisn't prefixed (possible name clash with other libs)enable_debugbuild config method is totally unrelated to thisENABLE_DEBUGandDISABLE_DEBUGwill still work for backward compatibility but mruby users should update their code. E.g. to#if defined MRB_DEFINE_HOOKS || defined ENABLE_DEBUG.