pyo3-ffi 0.29.1

Python-API bindings for the PyO3 ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(Py_3_9)]
use crate::PyObject;
#[cfg(all(Py_3_9, not(RustPython)))]
use crate::PyTypeObject;

extern_libpython! {
    #[cfg(Py_3_9)]
    #[cfg_attr(PyPy, link_name = "PyPy_GenericAlias")]
    pub fn Py_GenericAlias(origin: *mut PyObject, args: *mut PyObject) -> *mut PyObject;

    #[cfg(all(Py_3_9, not(RustPython)))]
    pub static mut Py_GenericAliasType: PyTypeObject;
}