improve the compiler option "cppCompileToNamespace", a custom namespace can now be set

This commit is contained in:
Giovanni 2018-09-15 20:06:26 +09:00
commit f1b64e4b96
5 changed files with 22 additions and 10 deletions

View file

@ -268,7 +268,7 @@ __clang__
/* wrap all Nim typedefs into namespace Nim */
#ifdef USE_NIM_NAMESPACE
namespace Nim {
namespace USE_NIM_NAMESPACE {
#endif
/* bool types (C++ has it): */