Allow using enumeration members as fixed-size array annotation
We currently don't resolve the enumeration member to a constant, so the axes
field in:
typedef enum {
// …
GDK_AXIS_LAST
} GdkAxisUse;
struct _GdkTimeCoord
{
guint32 time;
GdkAxisFlags flags;
double axes[GDK_AXIS_LAST];
};
cannot be correctly annotated as: (array fixed-size=GDK_AXIS_LAST)
, and instead we need to resolve GDK_AXIS_LAST
manually, which is less than optimal.