blob: 1ca60819cdd1554e23aa8851c8a97a343107e426 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
typedef struct
{
short v, h;
} S;
S a;
f (S pnt)
{
S mpnt, mtp;
(&pnt)->v -= 1;
mpnt = pnt;
mtp = a;
if (mtp.v != mpnt.v)
{
S tpnt;
tpnt = mtp;
mtp = mpnt;
mpnt = tpnt;
}
}
|