diff options
author | Neil <nyamatongwe@gmail.com> | 2013-07-21 14:30:14 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-07-21 14:30:14 +1000 |
commit | 7ab4b5ab14232d2a00246a8e6c77c73c5c8b78b7 (patch) | |
tree | d9fa23b4d42123a37e709630255b39336c295802 /src/UniConversion.cxx | |
parent | 68e4223dfcf19afec969e06727ff2fb22cf48420 (diff) | |
download | scintilla-mirror-7ab4b5ab14232d2a00246a8e6c77c73c5c8b78b7.tar.gz |
Standardising header guards and namespaces.
Diffstat (limited to 'src/UniConversion.cxx')
-rw-r--r-- | src/UniConversion.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/UniConversion.cxx b/src/UniConversion.cxx index ffe67f75c..1973dc7f2 100644 --- a/src/UniConversion.cxx +++ b/src/UniConversion.cxx @@ -9,6 +9,14 @@ #include "UniConversion.h" +#ifdef SCI_NAMESPACE +using namespace Scintilla; +#endif + +#ifdef SCI_NAMESPACE +namespace Scintilla { +#endif + enum { SURROGATE_LEAD_FIRST = 0xD800 }; enum { SURROGATE_TRAIL_FIRST = 0xDC00 }; enum { SURROGATE_TRAIL_LAST = 0xDFFF }; @@ -246,3 +254,7 @@ int UTF8Classify(const unsigned char *us, int len) { return UTF8MaskInvalid | 1; } } + +#ifdef SCI_NAMESPACE +} +#endif |