We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46c16e4 commit fe00ce7Copy full SHA for fe00ce7
pyo3-ffi/src/object.rs
@@ -381,8 +381,8 @@ extern "C" {
381
pub fn PyObject_GetTypeData(obj: *mut PyObject, cls: *mut PyTypeObject) -> *mut c_void;
382
383
#[cfg(Py_3_12)]
384
- #[cfg_attr(PyPy, link_name = "PyPyObject_GetTypeDataSize")]
385
- pub fn PyObject_GetTypeDataSize(cls: *mut PyTypeObject) -> Py_ssize_t;
+ #[cfg_attr(PyPy, link_name = "PyPyType_GetTypeDataSize")]
+ pub fn PyType_GetTypeDataSize(cls: *mut PyTypeObject) -> Py_ssize_t;
386
387
#[cfg_attr(PyPy, link_name = "PyPyType_IsSubtype")]
388
pub fn PyType_IsSubtype(a: *mut PyTypeObject, b: *mut PyTypeObject) -> c_int;
0 commit comments