We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Py_HashBuffer
1 parent d5589fe commit 595be1aCopy full SHA for 595be1a
pyo3-ffi/src/pyhash.rs
@@ -14,6 +14,9 @@ extern "C" {
14
15
#[cfg(not(any(Py_LIMITED_API, PyPy)))]
16
pub fn _Py_HashBytes(src: *const c_void, len: Py_ssize_t) -> Py_hash_t;
17
+
18
+ #[cfg(Py_3_14)]
19
+ pub fn Py_HashBuffer(ptr: *const c_void, len: Py_ssize_t) -> Py_hash_t;
20
}
21
22
pub const _PyHASH_MULTIPLIER: c_ulong = 1000003;
0 commit comments