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
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here