[C++-sig] Another pyste bug...;-)

Nicodemus nicodemus at globalite.com.br
Fri Mar 28 22:04:11 CET 2003


Giulio Eulisse wrote:

>Looks like I'm stress-testing pyste...;-)
>
Great! Just don't hesitate in posting bugs, please! 8)

>In QCString.h from QT you have
>
>class QCString
>{
>[...]
>operator const char * () const;
>[...]
>};
>
>which gets boostified in:
>
>.def("to_char", &QCString::operator char)
>
>which is not found (missing *, I guess) when compiling...
>

Fixed in CVS. Plus, converter operators which return char * or 
std::string are automatically named "__str__" in python. 8)

Thanks again for the bug report!
Nicodemus.

PS: You probably already know about this, but there's already a binding 
for Qt: PyQt. ;)






More information about the Cplusplus-sig mailing list