We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PyModule_FromDefAndSpec2
1 parent d9f3409 commit 2233f17Copy full SHA for 2233f17
pyo3-ffi/src/modsupport.rs
@@ -91,6 +91,7 @@ extern "C" {
91
fn PyModule_Create2TraceRefs(module: *mut PyModuleDef, apiver: c_int) -> *mut PyObject;
92
93
#[cfg(not(py_sys_config = "Py_TRACE_REFS"))]
94
+ #[cfg_attr(PyPy, link_name = "PyPyModule_FromDefAndSpec2")]
95
pub fn PyModule_FromDefAndSpec2(
96
def: *mut PyModuleDef,
97
spec: *mut PyObject,
0 commit comments