mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-106320: Move private _PyHash API to the internal C API (#107026)
* No longer export most private _PyHash symbols, only export the ones which are needed by shared extensions. * Modules/_xxtestfuzz/fuzzer.c now uses the internal C API.
This commit is contained in:
parent
756add081e
commit
89f9875448
8 changed files with 94 additions and 87 deletions
|
@ -4,6 +4,7 @@
|
|||
All the utility functions (_Py_Hash*()) return "-1" to signify an error.
|
||||
*/
|
||||
#include "Python.h"
|
||||
#include "pycore_pyhash.h" // _Py_HashSecret_t
|
||||
|
||||
#ifdef __APPLE__
|
||||
# include <libkern/OSByteOrder.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue