pyo3_ffi

Type Alias PyCMethod

Source
pub type PyCMethod = unsafe extern "C" fn(slf: *mut PyObject, defining_class: *mut PyTypeObject, args: *const *mut PyObject, nargs: Py_ssize_t, kwnames: *mut PyObject) -> *mut PyObject;
Available on Py_3_9 and non-Py_LIMITED_API only.