diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-12-22 13:18:35 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-12-22 13:18:35 (GMT) |
commit | fdf1a34ba113a783ed4865f810adbbbde11c8635 (patch) | |
tree | b6a93a1342c0366aa6fc95136cf547b7b1a87e59 /Modules/_decimal/libmpdec/constants.h | |
parent | fb7f580e81ed048f374cb9d624960f695ba032ba (diff) | |
download | cpython-fdf1a34ba113a783ed4865f810adbbbde11c8635.zip cpython-fdf1a34ba113a783ed4865f810adbbbde11c8635.tar.gz cpython-fdf1a34ba113a783ed4865f810adbbbde11c8635.tar.bz2 |
Issue #16745: Hide symbols in _decimal.so.
Diffstat (limited to 'Modules/_decimal/libmpdec/constants.h')
-rw-r--r-- | Modules/_decimal/libmpdec/constants.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/_decimal/libmpdec/constants.h b/Modules/_decimal/libmpdec/constants.h index 2d63d7e..13df920 100644 --- a/Modules/_decimal/libmpdec/constants.h +++ b/Modules/_decimal/libmpdec/constants.h @@ -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 */ |