summaryrefslogtreecommitdiff
path: root/Plugins/spellchecker/hunspell/w_char.hxx
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2011-10-10 01:39:18 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2011-10-10 01:39:18 +0000
commite9bf8a6e2d782dc480fb97cb59928c8cfe1dd777 (patch)
tree12bb8ebaab13ef1476ce9343482796c901ee0130 /Plugins/spellchecker/hunspell/w_char.hxx
parentf574681d9b6fee0d05319af1831620e48cc8492f (diff)
Moved files from BerliOS
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@229 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/spellchecker/hunspell/w_char.hxx')
-rw-r--r--Plugins/spellchecker/hunspell/w_char.hxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/Plugins/spellchecker/hunspell/w_char.hxx b/Plugins/spellchecker/hunspell/w_char.hxx
new file mode 100644
index 0000000..3719dd3
--- /dev/null
+++ b/Plugins/spellchecker/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