Hello,

I'm writing a SIP wrapper for a serie of overloaded functions like this:

void Foo(char *str);
void Foo(wchar_t *str);

void Bar(char *str);
void Bar(wchar_t *str);

[etc.]

Python supports conversion to/from wchar_t buffers using
PyUnicode_From/AsWideChar, but SIP does not support it. Could this be added
automatically?

This notwithstanding, I couldn't find a way to use %MappedType to solve my
problem, without having to write many duplicated %MappedCode. Any pointer?
-- 
Giovanni Bajo

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to