aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Reference-manual.md6
-rw-r--r--docs/markdown/snippets/visibility.md4
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index d14f639..a7b8a2b 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -511,13 +511,13 @@ be passed to [shared and static libraries](#library).
- `override_options` takes an array of strings in the same format as
`project`'s `default_options` overriding the values of these options
for this target only, since 0.40.0
-- `symbol_visibility` specifies how symbols should be exported, see
+- `gnu_symbol_visibility` specifies how symbols should be exported, see
e.g [the GCC Wiki](https://gcc.gnu.org/wiki/Visibility) for more
information. This value can either be an empty string or one of
`default`, `internal`, `hidden`, `protected` or `inlineshidden`, which
is the same as `hidden` but also includes things like C++ implicit
- constructors as specified in the GCC manual. Available since
- 0.48.0.
+ constructors as specified in the GCC manual. Ignored on compilers that
+ do not support GNU visibility arguments. Available since 0.48.0.
- `d_import_dirs` list of directories to look in for string imports used
in the D programming language
- `d_unittest`, when set to true, the D modules are compiled in debug mode
diff --git a/docs/markdown/snippets/visibility.md b/docs/markdown/snippets/visibility.md
index f55a48f..4b67105 100644
--- a/docs/markdown/snippets/visibility.md
+++ b/docs/markdown/snippets/visibility.md
@@ -1,4 +1,4 @@
-## Keyword argument for symbol visibility
+## Keyword argument for GNU symbol visibility
Build targets got a new keyword, `symbol_visibility` that controls how
symbols are exported from shared libraries. This is most commonly used
@@ -6,7 +6,7 @@ to hide implementation symbols like this:
```meson
shared_library('mylib', ...
- symbol_visibility: 'hidden')
+ gnu_symbol_visibility: 'hidden')
```
In this case only symbols explicitly marked as visible in the source