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?
--
Giovanni Bajo
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde