[PyKDE] SIP: MappedType for pointers?

Giovanni Bajo rasky at develer.com
Wed Mar 22 13:19:40 GMT 2006

Jim Bublitz <jbublitz at nwinternet.com> wrote:

> Same as the following, except "%MappedType wchar_t" and other obvious
> changes.

Many thanks Jim. For some reason, I had thought that %MappedType wouldn't
work for pointers... never mind!

>     if (!sipCpp)
>         Py_INCREF (Py_None);
>         return Py_None;

This is either a bug in your sample code, or an editing mistake :)
Giovanni Bajo

More information about the PyQt mailing list