New issue 30 by mozbug...@gmail.com: logic of creating EnumDescription was
reversed.
http://code.google.com/p/ctypesgen/issues/detail?id=30
The logic of creating EnumDescription inside handle_enum() was reversed.
The result was that enums always has no field members.
See the correct way of creating StructDescription in handle_struct().
Attached patch make it write out enum fields in json mode, similar to
struct.
Attachments:
ctypesgen-enum-fields.patch 2.6 KB
Comment #1 on issue 30 by r...@sc3d.org: logic of creating EnumDescription
was reversed.
http://code.google.com/p/ctypesgen/issues/detail?id=30
Thanks; applied.