#1273 SWIG doesn't understand "typedef enum"

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

typedef enum // <- line68.
{
GTK_ALIGN_FILL,
GTK_ALIGN_START,
GTK_ALIGN_END,
GTK_ALIGN_CENTER
} GtkAlign;

SWIG will stop with code above.

/usr/local/include/gtk-3.0/gtk/gtkenums.h:68: Error: Syntax error in input(1).

I'm using SWIG 2.0.7.

Discussion

  • William Fulton
    William Fulton
    2012-09-18

    Works for me. This bug tracker is for bugs - you should be using the swig-user mailing list for help if you can't get the most simple basic C/C++ code working.

     
  • William Fulton
    William Fulton
    2012-09-18

    • status: open --> closed-works-for-me