|
Converting CString to/from std::string: msg#00254python.c++
I have a rather large set of C++ classes I want to make accessible (initially only parts of some of the classes) from Python. I cannot change the classes as they are defined and used throughout a large application. Some of the methods take CString as parameters and others return CString values. Does anyone have suggestion on how I can convert these parameters so that I can use Boost.Python to generate the wrapper code. Thanks for any help. Nikolai Kirsebom PS: My posting earlier today http://mail.python.org/pipermail/c++-sig/2003-May/004065.html has in the example code a method returning a CString and this was the problem (as correctly pointed out by Brett Calcott). |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Recent changes to FAQ: 00254, Ralf W. Grosse-Kunstleve |
|---|---|
| Next by Date: | Re: Re: instantiating python objects within C++: 00254, Stefan Seefeld |
| Previous by Thread: | Assertion Error using Pystei: 00254, Brian Luft |
| Next by Thread: | Re: Converting CString to/from std::string: 00254, Ralf W. Grosse-Kunstleve |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |