Hi,
I have two structs in a header file, and they reference each other,
causing a compile error. Is there a standard way to deal with this?
typedef struct {
...
RtAction *actions;
} RtWidget;
typedef struct {
...
void (*action)(RtWid get *widget, XEvent *event);
} RtAction;
I have two structs in a header file, and they reference each other,
causing a compile error. Is there a standard way to deal with this?
typedef struct {
...
RtAction *actions;
} RtWidget;
typedef struct {
...
void (*action)(RtWid get *widget, XEvent *event);
} RtAction;
Comment