mercredi 4 janvier 2017

shiboken2 ignores c++11 style callback

i have a c++ library that uses c++11 style callback for functions. the callback definition inside a class is like this:

template<typename T>
using Callback = std::function<void (qint64,T,CallbackError)>;

trying to create a python wrapper via shiboken2, it seems that the Callback is not parsed at all, as all functions that use it in arguments are ignored stating "Unmatched argument type" how can i make shiboken2 aware of callback

Aucun commentaire:

Enregistrer un commentaire