mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #16745: Hide symbols in _decimal.so.
This commit is contained in:
parent
fb7f580e81
commit
fdf1a34ba1
12 changed files with 95 additions and 1 deletions
|
@ -33,6 +33,10 @@
|
|||
#include "mpdecimal.h"
|
||||
|
||||
|
||||
/* Internal header file: all symbols have local scope in the DSO */
|
||||
MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
|
||||
|
||||
|
||||
/* choice of optimized functions */
|
||||
#if defined(CONFIG_64)
|
||||
/* x64 */
|
||||
|
@ -77,6 +81,9 @@ extern const mpd_uint_t LH_P1P2;
|
|||
extern const mpd_uint_t UH_P1P2;
|
||||
|
||||
|
||||
MPD_PRAGMA(MPD_HIDE_SYMBOLS_END) /* restore previous scope rules */
|
||||
|
||||
|
||||
#endif /* CONSTANTS_H */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue