Fixes linking of `PyOS_FSPath` on PyPy.
This commit is contained in:
parent
1e5a49557d
commit
dd04d2c4cc
|
@ -0,0 +1 @@
|
|||
Linking of `PyOS_FSPath` on PyPy.
|
|
@ -1,5 +1,6 @@
|
|||
use crate::object::PyObject;
|
||||
|
||||
extern "C" {
|
||||
#[cfg_attr(PyPy, link_name = "PyPyOS_FSPath")]
|
||||
pub fn PyOS_FSPath(path: *mut PyObject) -> *mut PyObject;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue