version 1.6, 2009/02/25 12:09:20 |
version 1.9, 2009/02/25 15:12:26 |
|
|
}; |
}; |
|
|
struct termpair { |
struct termpair { |
|
struct termpair *ppair; |
int type; |
int type; |
#define TERMPAIR_FLAG (1 << 0) |
#define TERMPAIR_FLAG (1 << 0) |
union { |
int flag; |
int flag; |
size_t offset; |
} data; |
size_t rmargin; |
|
int count; |
}; |
}; |
|
|
#define TERMPAIR_SETFLAG(p, fl) \ |
#define TERMPAIR_SETFLAG(p, fl) \ |
do { \ |
do { \ |
(p)->data.flag = (fl); \ |
assert(! (TERMPAIR_FLAG & (p)->type)); \ |
(p)->type = TERMPAIR_FLAG; \ |
(p)->flag = (fl); \ |
|
(p)->type |= TERMPAIR_FLAG; \ |
} while (0) |
} while (0) |
|
|
struct termact { |
struct termact { |