(module: *mut PyModuleDef)
| 90 | |
| 91 | #[inline] |
| 92 | pub unsafe fn PyModule_Create(module: *mut PyModuleDef) -> *mut PyObject { |
| 93 | PyModule_Create2( |
| 94 | module, |
| 95 | if cfg!(Py_LIMITED_API) { |
| 96 | PYTHON_ABI_VERSION |
| 97 | } else { |
| 98 | PYTHON_API_VERSION |
| 99 | }, |
| 100 | ) |
| 101 | } |
| 102 | |
| 103 | extern_libpython! { |
| 104 |
nothing calls this directly
no outgoing calls
no test coverage detected