I'm trying to implement a different kind of doubly-linked list. It's made up of 2 different structs that are inter-dependent.
What should I do for the compiler to know that Child data-type is defined below as struct?PHP Code:
[code]
typedef struct {
int value;
Child *child;
} Parent;
typedef struct {
int value;
Parent parent;
} Child;
[/code]