On Tuesday 21 March 2006 6:56 pm, Giovanni Bajo wrote: > Phil Thompson <[EMAIL PROTECTED]> wrote: > >> I found out there is an undocumented "sipConvertFromNamedEnum". Should > >> it be documented? Maybe there are other undocumented functions as well. > > > > There are lots of undocumented functions. They are undocumented because > > they > > > are not intended to be used - unless you can show why you need them. > > It was the only way I could find to wrap a function like this one: > > enum Foo { A, B, C }; > Foo* getFoos(int *size); //*size is the length of the returned array > > so that it returns a python list of instances of Foo. Is there another way?
sipBuildResult() However I notice that I've used it myself in handwritten code in PyQt4, so I'll document it. Phil _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde