mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -34,6 +34,10 @@
|
|||
#include "mpdecimal.h"
|
||||
|
||||
|
||||
/* Internal header file: all symbols have local scope in the DSO */
|
||||
MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
|
||||
|
||||
|
||||
/* transform parameters */
|
||||
struct fnt_params {
|
||||
int modnum;
|
||||
|
@ -66,6 +70,9 @@ std_setmodulus(int modnum, mpd_uint_t *umod)
|
|||
#endif
|
||||
|
||||
|
||||
MPD_PRAGMA(MPD_HIDE_SYMBOLS_END) /* restore previous scope rules */
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue