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

2011-05-12 Thread Stefan Seefeld
Hi Rainer, On 2011-05-12 08:57, Rainer Kluger wrote: 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"; variab

[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