#1272 SWIG can't understand headers of GTK+

closed-works-for-me
nobody
5
2012-09-18
2012-09-17
Mike Manolone
No

Not only GTK+, but all headers written in the style of GObject.

typedef struct _XClass XClass; // <- stops here
struct _XClass{
GObject parent;
};

It could be a huge problem to users who use SWIG with GObject (like me).

Discussion

  • William Fulton
    William Fulton
    2012-09-18

    • status: open --> closed-works-for-me
     
  • William Fulton
    William Fulton
    2012-09-18

    The above code works fine in SWIG. I don't know what you are doing wrong, but 'stops here' doesn't indicate what the problem is. This code should work with all versions of SWIG, but you could at least provide the version number you are using.