Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't define _Py_HashSecret_Initialized in limited API
The underscore means it's not public API.
It was also not exported in the Windows stable ABI library.
  • Loading branch information
encukou committed Apr 20, 2021
commit 2f05fde3887b753a57f3fb3123744bdd6aff6ea1
2 changes: 0 additions & 2 deletions Include/pyhash.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,13 @@ typedef union {
} expat;
} _Py_HashSecret_t;
PyAPI_DATA(_Py_HashSecret_t) _Py_HashSecret;
#endif

#ifdef Py_DEBUG
PyAPI_DATA(int) _Py_HashSecret_Initialized;
#endif


/* hash function definition */
#ifndef Py_LIMITED_API
typedef struct {
Py_hash_t (*const hash)(const void *, Py_ssize_t);
const char *name;
Expand Down