Extending embedded Python
Using PyCObject_FromVoidPtr to pass a pointer on C++ object
Using PyCapsule instead of PyCObject