summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-03-28 10:59:01 -0400
committerXavier Claessens <xclaesse@gmail.com>2025-10-29 17:37:55 +0100
commita4444c21f3890b4ae18d128864850062d6472ac6 (patch)
treeab07416960596d2b738eebae9e8f1e100c0f1ce5 /docs/yaml
parentf3aaebde4050c1906d69db20fc9fc2eb5c0c4371 (diff)
downloadmeson-a4444c21f3890b4ae18d128864850062d6472ac6.tar.gz
Add snippets.symbol_visibility_header() method
Defining public API in a cross platform library is painful, especially on Windows. Since every library have to define pretty much the same macros, better do it in Meson.
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/functions/_build_target_base.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml
index e0fd8b839..4cd91affe 100644
--- a/docs/yaml/functions/_build_target_base.yaml
+++ b/docs/yaml/functions/_build_target_base.yaml
@@ -255,7 +255,9 @@ kwargs:
`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. Ignored on compilers that
- do not support GNU visibility arguments.
+ do not support GNU visibility arguments. See also
+ [`snippets.symbol_visibility_header()`](Snippets-module.md#symbol_visibility_header)
+ method to help with defining public API.
d_import_dirs:
type: array[inc | str]