[PyKDE] SIP: MappedType for pointers?

Giovanni Bajo rasky at develer.com
Wed Mar 22 14:03:30 GMT 2006


Phil Thompson <phil at riverbankcomputing.co.uk> wrote:

>> Python supports conversion to/from wchar_t buffers using
>> PyUnicode_From/AsWideChar, but SIP does not support it. Could this be
added
>> automatically?
>
> This is similar to the size_t issue.

While I can understand the technical issues with size_t (which I still think
that should be faced and solved once for all in SIP, instead of having all
the users deal with the troubles), there is a clear and documented mapping
between wchar_t and Python unicode objects, so exposing this mapping by
default would make things easier for SIP users.
-- 
Giovanni Bajo




More information about the PyQt mailing list