aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/StringCopy.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-09-11 09:05:35 +1000
committerNeil <nyamatongwe@gmail.com>2017-09-11 09:05:35 +1000
commit313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf (patch)
tree2ec6649c5e74a1d7127d150f485432def1814a1a /lexlib/StringCopy.h
parent7b287ecd7f8527bb8f47e08090a0120ff418c730 (diff)
downloadscintilla-mirror-313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf.tar.gz
The Scintilla namespace is always active for internal symbols and for the lexer
interfaces ILexer4 and IDocument.
Diffstat (limited to 'lexlib/StringCopy.h')
-rw-r--r--lexlib/StringCopy.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lexlib/StringCopy.h b/lexlib/StringCopy.h
index 1812b4e35..1c5442e65 100644
--- a/lexlib/StringCopy.h
+++ b/lexlib/StringCopy.h
@@ -9,9 +9,7 @@
#ifndef STRINGCOPY_H
#define STRINGCOPY_H
-#ifdef SCI_NAMESPACE
namespace Scintilla {
-#endif
// Safer version of string copy functions like strcpy, wcsncpy, etc.
// Instantiate over fixed length strings of both char and wchar_t.
@@ -29,8 +27,6 @@ void StringCopy(T (&dest)[count], const T* source) {
#define ELEMENTS(a) (sizeof(a) / sizeof(a[0]))
-#ifdef SCI_NAMESPACE
}
-#endif
#endif