pyo3_ffi

Function PyModule_AddType

Source
pub unsafe extern "C" fn PyModule_AddType(
    module: *mut PyObject,
    type_: *mut PyTypeObject,
) -> c_int
Available on Py_3_10, or Py_3_9 and non-Py_LIMITED_API only.