Skip to content

Commit

Permalink
Use PyPy_GenericAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanIsCoding authored Feb 19, 2025
1 parent da0ac63 commit 5d81a6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyo3-ffi/src/genericaliasobject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use crate::object::{PyObject, PyTypeObject};
#[cfg_attr(windows, link(name = "pythonXY"))]
extern "C" {
#[cfg(Py_3_9)]
#[cfg_attr(PyPy, link_name = "PyPy_GenericAlias")]
pub fn Py_GenericAlias(origin: *mut PyObject, args: *mut PyObject) -> *mut PyObject;

#[cfg(Py_3_9)]
Expand Down

0 comments on commit 5d81a6e

Please sign in to comment.