mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 12:44:07 +00:00
20 lines
271 B
C++
20 lines
271 B
C++
|
#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;
|
||
|
};
|
||
|
|
||
|
#endif
|