| 1 |
typedef struct { int c, d, e, f, g; } D; |
| 2 |
|
| 3 |
void bar (unsigned long, unsigned long); |
| 4 |
void foo (D *y) |
| 5 |
{ |
| 6 |
int x = 0; |
| 7 |
|
| 8 |
if (y->f == 0) |
| 9 |
x |= 0x1; |
| 10 |
if (y->g == 0) |
| 11 |
x |= 0x2; |
| 12 |
bar ((x << 16) | (y->c & 0xffff), (y->d << 16) | (y->e & 0xffff)); |
| 13 |
} |