Conditionally mangle the function name
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
This commit is contained in:
parent
0f1ff1d852
commit
a7cc5952c7
|
@ -82,7 +82,7 @@ extern "C" {
|
||||||
step: *mut Py_ssize_t,
|
step: *mut Py_ssize_t,
|
||||||
) -> c_int;
|
) -> c_int;
|
||||||
|
|
||||||
#[cfg_attr(PyPy, link_name = "PyPySlice_AdjustIndices")]
|
#[cfg_attr(all(PyPy, Py_3_10), link_name = "PyPySlice_AdjustIndices")]
|
||||||
pub fn PySlice_AdjustIndices(
|
pub fn PySlice_AdjustIndices(
|
||||||
length: Py_ssize_t,
|
length: Py_ssize_t,
|
||||||
start: *mut Py_ssize_t,
|
start: *mut Py_ssize_t,
|
||||||
|
|
Loading…
Reference in New Issue