[C++-sig] from_python conversion for a const char*& argument

2011-05-12 Thread Rainer Kluger
Hi I try to expose the following class to python (using gcc 4.5.1, boost 1_44_0, Python 2.7.1): // C++ class A { public: int getName(const char*& name); // suppose the implementation assigns the const char* x = "foo"; variable to the ref-pointer } I'd like to expose this API as is

[C++-sig] Antwort: Re: from_python conversion for a const char*& argument

2011-05-13 Thread Rainer Kluger
27; // Bingo! Von:Stefan Seefeld An: [email protected] Datum: 12.05.2011 15:39 Betreff:Re: [C++-sig] from_python conversion for a const char*& argument Gesendet von: [email protected] Hi Rainer, On 201