[C++-sig] Unicode string in different version of libboost-python

2015-01-27 Thread Vincent Vande Vyvre
Hi, I'm working on a python wrapper for the lib libexiv2 This is the port to Python 3 of pyexiv2 written for Python 2 I've two machines, one 32 bits with these versions: vincent@tiemoko:~$ dpkg --list | grep libboost ii libboost-python-dev 1.48.0.2Boost.Python Library deve

[C++-sig] Exporting a c++ buffer type.

2016-08-03 Thread Vincent Vande Vyvre
Hi, I'm porting a lib to Python-3. This code works with Python-2 -- const std::string Image::getExifThumbnailData() { Exiv2::DataBuf buffer = _getExifThumbnail()->copy(); // Copy the data buffer in a string. // First allocate the m