[Vala] enum/struct without typedef



Hi,

I'm currently trying to build GI files for libmpdclient, but
vala-gen-introspect seems to be confused about enums and structs when
they're not typedef'd, i.e.:
        enum foo { BAZ, BAR };
instead of:
        typedef enum { BAZ, BAR } foo;

The resulting problem is that those enum's seem to be missing completely
from the .gi file.
Is there some way to get those in the file? Does valac even know how to
compile that? Or do I have to ask upstream to use typedef there?

Regards,
Christoph

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]