use crate::PyObject;
#[cfg(not(RustPython))]
use crate::PyTypeObject;
extern_libpython! {
#[cfg_attr(all(PyPy, not(Py_3_12)), link_name = "PyPy_GenericAlias")]
pub fn Py_GenericAlias(origin: *mut PyObject, args: *mut PyObject) -> *mut PyObject;
#[cfg(not(RustPython))]
#[cfg_attr(all(PyPy, not(Py_3_12)), link_name = "PyPy_GenericAliasType")]
pub static mut Py_GenericAliasType: PyTypeObject;
}