diff options
Diffstat (limited to 'plugins/SpellChecker/src/hunspell/w_char.hxx')
-rw-r--r-- | plugins/SpellChecker/src/hunspell/w_char.hxx | 21 |
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 |