[libvirt] [python PATCH 1/5] generator: enum: Don't sort enums by names

Eric Blake eblake at redhat.com
Thu Aug 28 16:38:10 UTC 2014


On 08/28/2014 10:32 AM, Peter Krempa wrote:
> Setting OCDs aside, sorting enums breaks if the definition contains
> links to other enums defined in the libvirt header before. Let the
> generator generate it in the natural order.
> ---
>  generator.py | 2 --
>  1 file changed, 2 deletions(-)

ACK. But I _also_ think we need to fix libvirt to recursively resolve
enums defined by reference to other names, so that the API xml file it
generates is fully numeric rather than making clients chase down
symbolic resolutions themselves.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140828/fd9ac2be/attachment-0001.sig>


More information about the libvir-list mailing list