summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/hunspell/w_char.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/src/hunspell/w_char.hxx')
-rw-r--r--plugins/SpellChecker/src/hunspell/w_char.hxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/SpellChecker/src/hunspell/w_char.hxx b/plugins/SpellChecker/src/hunspell/w_char.hxx
new file mode 100644
index 0000000000..3719dd3b77
--- /dev/null
+++ b/plugins/SpellChecker/src/hunspell/w_char.hxx
@@ -0,0 +1,21 @@
+#ifndef __WCHARHXX__
+#define __WCHARHXX__
+
+#ifndef GCC
+typedef struct {
+#else
+typedef struct __attribute__ ((packed)) {
+#endif
+ unsigned char l;
+ unsigned char h;
+} w_char;
+
+// two character arrays
+struct replentry {
+ char * pattern;
+ char * pattern2;
+ bool start;
+ bool end;
+};
+
+#endif