We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06fb17b commit 6fa6b22Copy full SHA for 6fa6b22
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