mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-18 02:31:31 +00:00
19 lines
308 B
R
19 lines
308 B
R
struct foobar_s {
|
|
float a;
|
|
struct foobar_s *b[2];
|
|
float c;
|
|
};
|
|
typedef struct foobar_s foobar_t;
|
|
typedef foobar_t *foobar_p;
|
|
|
|
void (foobar_p foo, vector x, integer y, foobar_t z) bar =
|
|
{
|
|
foo.a = x.z;
|
|
foo.b[1] = (foobar_p)(integer)x.y;
|
|
z.a = x_z;
|
|
z.c = x.x;
|
|
x.y = z.c;
|
|
x_x = 0;
|
|
x_y = 0;
|
|
x.z = 0;
|
|
};
|