ORBit imodule question



As some of you may know, I have been working on new Python bindings for ORBit2. These take advantage of the new typelibs features in ORBit2. I found a small problem in the ordering of the types returned from the typelib that I consider a bug, but others may not.

The details on the bug can be found here:
   http://bugzilla.gnome.org/show_bug.cgi?id=95591

The question is what order the types should be listed in the imodule for the following construct:

       union EnumUnion switch (enum Colour { red, green, blue }) {
       case red: long x;
       case blue: boolean y;
       };

Currently, the enumeration gets listed first, followed by the union. I think they should be listed the other way round because the union contains the enumeration. My binding automatically generates the stubs from the information in the typelib, and gets a bit confused when a child gets registered before its parent.

Would such a change break anyone's code?

James.

--
Email: james daa com au              | Linux.conf.au   http://linux.conf.au/
WWW: http://www.daa.com.au/~james/ | Jan 22-25 Perth, Western Australia.





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