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