From 313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 11 Sep 2017 09:05:35 +1000 Subject: The Scintilla namespace is always active for internal symbols and for the lexer interfaces ILexer4 and IDocument. --- include/ILexer.h | 4 ---- include/Platform.h | 8 -------- 2 files changed, 12 deletions(-) (limited to 'include') diff --git a/include/ILexer.h b/include/ILexer.h index 455806a08..9bc995c3d 100644 --- a/include/ILexer.h +++ b/include/ILexer.h @@ -10,9 +10,7 @@ #include "Sci_Position.h" -#ifdef SCI_NAMESPACE namespace Scintilla { -#endif enum { dvRelease4=2 }; @@ -75,8 +73,6 @@ public: virtual const char * SCI_METHOD DescriptionOfStyle(int style) = 0; }; -#ifdef SCI_NAMESPACE } -#endif #endif diff --git a/include/Platform.h b/include/Platform.h index a18ef2255..e1c8a4c76 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -71,9 +71,7 @@ #endif -#ifdef SCI_NAMESPACE namespace Scintilla { -#endif typedef float XYPOSITION; typedef double XYACCUMULATOR; @@ -511,15 +509,9 @@ public: #ifdef NDEBUG #define PLATFORM_ASSERT(c) ((void)0) #else -#ifdef SCI_NAMESPACE #define PLATFORM_ASSERT(c) ((c) ? (void)(0) : Scintilla::Platform::Assert(#c, __FILE__, __LINE__)) -#else -#define PLATFORM_ASSERT(c) ((c) ? (void)(0) : Platform::Assert(#c, __FILE__, __LINE__)) -#endif #endif -#ifdef SCI_NAMESPACE } -#endif #endif -- cgit v1.2.3