We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93cb946 commit 8f828faCopy full SHA for 8f828fa
1 file changed
pyo3-ffi/src/refcount.rs
@@ -1,6 +1,6 @@
1
use crate::pyport::Py_ssize_t;
2
use crate::PyObject;
3
-#[cfg(py_sys_config = "Py_REF_DEBUG")]
+#[cfg(all(not(Py_LIMITED_API), py_sys_config = "Py_REF_DEBUG"))]
4
use std::ffi::c_char;
5
#[cfg(Py_3_12)]
6
use std::ffi::c_int;
0 commit comments