mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-01 05:21:02 +00:00
793112de9a
structptr.r is actually usable for automated testing when I get around to it.
18 lines
209 B
R
18 lines
209 B
R
int y;
|
|
void
|
|
ptrderef (int *to, int *from)
|
|
{
|
|
int x;
|
|
|
|
x = *from;
|
|
x = *from++;
|
|
x = *++from;
|
|
x = ++*from;
|
|
to = from++;
|
|
to = ++from;
|
|
*to = *from++;
|
|
*to = *++from;
|
|
*to = x;
|
|
*to++ = *from++;
|
|
y = *to++;
|
|
}
|