Skip to content

Commit

Permalink
Conditionally mangle the function name
Browse files Browse the repository at this point in the history
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
  • Loading branch information
mattip and davidhewitt committed Mar 23, 2023
1 parent 3da3d5f commit 2055698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyo3-ffi/src/sliceobject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ extern "C" {
step: *mut Py_ssize_t,
) -> c_int;

#[cfg_attr(PyPy, link_name = "PyPySlice_AdjustIndices")]
#[cfg_attr(all(PyPy, Py_3_10), link_name = "PyPySlice_AdjustIndices")]
pub fn PySlice_AdjustIndices(
length: Py_ssize_t,
start: *mut Py_ssize_t,
Expand Down

0 comments on commit 2055698

Please sign in to comment.