Replies: 1 comment 3 replies
-
As you have correctly stated, I'm failing to see the good sides of having this (and many more other macros) instead of actual C++ code specifically in headers. Another problem caused by all these macros is that you need to have the correct include directories set up to correctly parse axmol headers using some external library like libclang, and this really difficults writing quick external tools for example to generate language bindings or other things. Axmol would benefit from using less macros. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a hard time finding out the good sides of the NS_AX_BEGIN/NS_AX_END preprocessor definitions. My best bet is that the intent was to allow global namespace renaming in a single place, yet I think this is a poor practice:
I think the code would be better without them. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions