summaryrefslogtreecommitdiff
path: root/docs/markdown/Wayland-module.md
diff options
context:
space:
mode:
authorMark Bolhuis <mark@bolhuis.dev>2022-09-07 00:59:08 +0100
committerXavier Claessens <xclaesse@gmail.com>2022-09-07 08:43:29 -0400
commitb6235a2e42deb417f13cb9411e0c6feb2a4ab995 (patch)
tree886f7493d05b9aa4b3202e8f732d9d7cec15bdab /docs/markdown/Wayland-module.md
parent25f838fd3328273733976b16775142a58e3db275 (diff)
downloadmeson-b6235a2e42deb417f13cb9411e0c6feb2a4ab995.tar.gz
modules/wayland: Rename core_only to include_core_only
Rename the core_only option in scan_xml to include_core_only to match the flag used by wayland-scanner.
Diffstat (limited to 'docs/markdown/Wayland-module.md')
-rw-r--r--docs/markdown/Wayland-module.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/markdown/Wayland-module.md b/docs/markdown/Wayland-module.md
index 353bb6b7d..ce2b7a654 100644
--- a/docs/markdown/Wayland-module.md
+++ b/docs/markdown/Wayland-module.md
@@ -50,7 +50,7 @@ generated = wl_mod.scan_xml(
client : true,
server : true,
public : false,
- core_only : false,
+ include_core_only : false,
)
```
This function accepts one or more arguments of either string or file type.
@@ -62,8 +62,9 @@ It takes the following keyword arguments:
generated. The default is true.
- `server` Optional arg that specifies if server side header file is
generated. The default is false.
-- `core_only` Optional arg that specifies that generated headers only include
- wayland-client-core.h instead of wayland-client.h. Since *0.64.0*
+- `include_core_only` Optional arg that specifies that generated headers only include
+ `wayland-<client|server>-core.h` instead of `wayland-<client|server>.h`.
+ The default is true. Since *0.64.0*
**Returns**: a list of [[@custom_tgt]] in the order source, client side header,
server side header. Generated header files have the name