Function pyo3::ffi::PyCapsule_New

source ยท
pub unsafe extern "C" fn PyCapsule_New(
    pointer: *mut c_void,
    name: *const i8,
    destructor: Option<unsafe extern "C" fn(_: *mut PyObject)>
) -> *mut PyObject