mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-03 04:24:45 +00:00
improve the compiler option "cppCompileToNamespace", a custom namespace can now be set
This commit is contained in:
@@ -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): */
|
||||
|
||||
Reference in New Issue
Block a user