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>
This commit is contained in:
bors[bot] 2023-03-15 09:53:08 +00:00 committed by GitHub
commit b711e983ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ extern "C" {
step: *mut Py_ssize_t,
) -> c_int;
#[cfg_attr(all(PyPy, Py_3_10), link_name = "PyPySlice_AdjustIndices")]
pub fn PySlice_AdjustIndices(
length: Py_ssize_t,
start: *mut Py_ssize_t,