Issue #19526: Exclude all new API from the stable ABI.

This commit is contained in:
Martin v. Löwis 2014-01-03 21:36:49 +01:00
parent a2924cabaf
commit 1c0689c613
14 changed files with 37 additions and 2 deletions

View file

@ -50,6 +50,7 @@ PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t);
* (*) The siphash member may not be available on 32 bit platforms without
* an unsigned int64 data type.
*/
#ifndef Py_LIMITED_API
typedef union {
/* ensure 24 bytes */
unsigned char uc[24];
@ -76,6 +77,7 @@ typedef union {
} expat;
} _Py_HashSecret_t;
PyAPI_DATA(_Py_HashSecret_t) _Py_HashSecret;
#endif
#ifdef Py_DEBUG
PyAPI_DATA(int) _Py_HashSecret_Initialized;