pyo3_ffi

Type Alias wrapperfunc

Source
pub type wrapperfunc = Option<unsafe extern "C" fn(slf: *mut PyObject, args: *mut PyObject, wrapped: *mut c_void) -> *mut PyObject>;
Available on non-Py_LIMITED_API only.

Aliased Type§

enum wrapperfunc {
    None,
    Some(unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut c_void) -> *mut PyObject),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut c_void) -> *mut PyObject)

Some value of type T.