Re: [C++-sig] Passing std::wstring to Python callback

2015-04-03 Thread Giuseppe Corbelli
On 18/03/2015 22:25, Bogdan Cristea wrote: Hi I am using boost python for providing python bindings for a C++ library. I am using Python 2.7. My library needs to call callbacks that are defined in Python. There callbacks can take a string parameter. C++ side I am always using std::wstring. Ever

[C++-sig] Passing std::wstring to Python callback

2015-03-19 Thread Bogdan Cristea
Hi I am using boost python for providing python bindings for a C++ library. I am using Python 2.7. My library needs to call callbacks that are defined in Python. There callbacks can take a string parameter. C++ side I am always using std::wstring. Everything works on as long as std::wstring co