mangle exported functions for PyPy

This commit is contained in:
Matti Picus 2023-03-12 08:40:12 +11:00
parent 4b0b9b91a3
commit 0f1ff1d852

View file

@ -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,