[PyKDE] SIP: MappedType for pointers?
Hans-Peter Jansen
hpj at urpla.net
Wed Mar 22 14:28:34 GMT 2006
Am Mittwoch, 22. März 2006 14:19 schrieb Giovanni Bajo:
> 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 :)
Obviously, Jim codes more Python than C++ these times..
Pete
More information about the PyQt
mailing list