[C++-sig] Automatic PyUnicode to 'const char*'
by Lijun Qin other posts by this author
Jul 31 2003 11:53PM messages near this date
[C++-sig] Re: Automatic PyUnicode to 'const char*'
|
[C++-sig] Re: Automatic PyUnicode to 'const char*'
Hi all,
I'm using boost.python to wrap the WTL (Windows Template Libaray), using VC
7.1 and porting some old code previously use win32ui.pyd.
Basically it is easy to do, though gccxml failed to parse the ATL/WTL code
so I can not use Pyste.
But there is a trouble, does anybody know how to automaticly convert
PyUnicode to 'const char *'? Without this, I have to change lot of code
lines to explictly use str() function.
Lijun Qin
http://www.solidshare.com
_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Lijun Qin
David Abrahams
David Abrahams
Stefan Seefeld
|