aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/DBCS.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DBCS.h')
-rw-r--r--src/DBCS.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/DBCS.h b/src/DBCS.h
new file mode 100644
index 000000000..875d44c8f
--- /dev/null
+++ b/src/DBCS.h
@@ -0,0 +1,21 @@
+// Scintilla source code edit control
+/** @file DBCS.h
+ ** Functions to handle DBCS double byte encodings like Shift-JIS.
+ **/
+// Copyright 2017 by Neil Hodgson <neilh@scintilla.org>
+// The License.txt file describes the conditions under which this software may be distributed.
+
+#ifndef DBCS_H
+#define DBCS_H
+
+#ifdef SCI_NAMESPACE
+namespace Scintilla {
+#endif
+
+bool DBCSIsLeadByte(int codePage, char ch);
+
+#ifdef SCI_NAMESPACE
+}
+#endif
+
+#endif