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

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]