S
Serve Laurijssen
How can I get the following to compile?
typedef struct Y
{
void (*f)(X *x);
} Y;
typedef struct X
{
int x;
} X;
Just forward declaring X doesn't work and I can't put the word struct before
X, because the code is generated.
typedef struct Y
{
void (*f)(X *x);
} Y;
typedef struct X
{
int x;
} X;
Just forward declaring X doesn't work and I can't put the word struct before
X, because the code is generated.