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.
PyUnicodeWriter
<=3.13
1 parent 5d10df4 commit f0df624Copy full SHA for f0df624
pyo3-ffi/src/cpython/unicodeobject.rs
@@ -686,11 +686,16 @@ extern "C" {
686
// skipped PyUnicode_GetMax
687
}
688
689
+#[cfg(Py_3_14)]
690
opaque_struct!(pub PyUnicodeWriter);
691
692
#[cfg(not(Py_3_14))]
693
+pub type PyUnicodeWriter = _PyUnicodeWriter;
694
+
695
+#[cfg(not(Py_3_14))]
696
+#[doc(hidden)]
697
#[repr(C)]
-pub(crate) struct _PyUnicodeWriter {
698
+pub struct _PyUnicodeWriter {
699
buffer: *mut PyObject,
700
data: *mut c_void,
701
kind: c_int,
0 commit comments