I have the following callback in C which I need to bind it using pybind11 so that, it can be called from python.
typedef gpointer (*CopyFunc) (gpointer data,