Function pyo3::ffi::PyCapsule_SetDestructor

source ยท
pub unsafe extern "C" fn PyCapsule_SetDestructor(
    capsule: *mut PyObject,
    destructor: Option<unsafe extern "C" fn(_: *mut PyObject)>
) -> i32