(def: *mut PyModuleDef, spec: *mut PyObject)
| 113 | |
| 114 | #[inline] |
| 115 | pub unsafe fn PyModule_FromDefAndSpec(def: *mut PyModuleDef, spec: *mut PyObject) -> *mut PyObject { |
| 116 | PyModule_FromDefAndSpec2( |
| 117 | def, |
| 118 | spec, |
| 119 | if cfg!(Py_LIMITED_API) { |
| 120 | PYTHON_ABI_VERSION |
| 121 | } else { |
| 122 | PYTHON_API_VERSION |
| 123 | }, |
| 124 | ) |
| 125 | } |
| 126 | |
| 127 | #[cfg(Py_3_15)] |
| 128 | #[repr(C)] |
nothing calls this directly
no outgoing calls
no test coverage detected