I want to call a C++ function from Python using pybind11. The C++ function is declared as:
void *getimage(GstPadProbeInfo *info)
In Python, I am calling getimage with:
image = example.getimage(info)
where the Python type of info is gi.repository.GstPadProbeInfo. When
when I run the code I get:
incompatible function arguments. The following argument types are supported: 1. (arg0: _GstPadProbeInfo) -> capsule
How can I resolve this?