Skip to content

Commit

Permalink
Merge #3040
Browse files Browse the repository at this point in the history
3040: mangle exported functions for PyPy r=adamreichold a=mattip

Continuation of #3031. This [turned up](https://github.com/pypy/binary-testing/actions/runs/4390086363/jobs/7688256133#step:6:179) in the run of PyPy 3.10 HEAD against PyO3 HEAD. Should I add a new news fragment or is the one from #3031 sufficient?

Co-authored-by: Matti Picus <matti.picus@gmail.com>
  • Loading branch information
bors[bot] and mattip authored Mar 12, 2023
2 parents 4b0b9b9 + 0f1ff1d commit d64fedc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyo3-ffi/src/sliceobject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ extern "C" {
step: *mut Py_ssize_t,
) -> c_int;

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

0 comments on commit d64fedc

Please # to comment.