pyo3::ffi

Function 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