_Py_HashBytes()

This commit is contained in:
ijl 2020-01-16 14:04:25 +00:00
parent a55a48b189
commit 23d380ef07
1 changed files with 2 additions and 0 deletions

View File

@ -20,4 +20,6 @@ impl Default for PyHash_FuncDef {
#[cfg_attr(windows, link(name = "pythonXY"))]
extern "C" {
pub fn PyHash_GetFuncDef() -> *mut PyHash_FuncDef;
#[cfg(not(PyPy))]
pub fn _Py_HashBytes(src: *const c_void, len: Py_ssize_t) -> Py_hash_t;
}