diff options
author | Tomasz Konojacki <me@xenu.pl> | 2022-06-18 07:26:58 +0200 |
---|---|---|
committer | xenu <me@xenu.pl> | 2022-06-18 08:51:14 +0200 |
commit | 0351a629e71de127cbfd1b142e9eaa6069deabf5 (patch) | |
tree | d3248e133b1eb3d42bdfa321e9e8d06820628ad4 /uconfig.h | |
parent | 2287d33092e0f6594e38c269503627308460e02e (diff) | |
download | perl-0351a629e71de127cbfd1b142e9eaa6069deabf5.tar.gz |
hide private functions with __attribute__((visibility("hidden")))
This allows us to enforce API boundaries and potentially enables
compiler optimisations.
We've been always hiding non-public symbols on Windows. This commit
brings that to the other platforms.
Diffstat (limited to 'uconfig.h')
-rw-r--r-- | uconfig.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1460,6 +1460,10 @@ * Can we handle GCC attribute for functions that should always be * inlined. */ +/* HASATTRIBUTE_VISIBILITY: + * Can we handle GCC attribute for functions that should have a + * different visibility. + */ /*#define HASATTRIBUTE_DEPRECATED / **/ /*#define HASATTRIBUTE_FORMAT / **/ /*#define PRINTF_FORMAT_NULL_OK / **/ @@ -1470,6 +1474,7 @@ /*#define HASATTRIBUTE_UNUSED / **/ /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/ /*#define HASATTRIBUTE_ALWAYS_INLINE / **/ +/*#define HASATTRIBUTE_VISIBILITY / **/ /* HAS_BACKTRACE: * This symbol, if defined, indicates that the backtrace() routine is @@ -5346,6 +5351,6 @@ #endif /* Generated from: - * ff9df121df3ac057e283c9218bf0bd4fbdc28d9a6d01a956c4a865ecec274fb0 config_h.SH - * 19bd12935947a7874015a5e6559bdd33363b49755d1e42cc7aebe0fb7ec54657 uconfig.sh + * 72a47a9b71961a7325395f1b8ca5e40f71099b60c5f4abbc6c872a8ee4597b08 config_h.SH + * bfca76a5b377754c7113eda85ec235ff8776e891a4041ce385a874c7788409a6 uconfig.sh * ex: set ro: */ |