From b6235a2e42deb417f13cb9411e0c6feb2a4ab995 Mon Sep 17 00:00:00 2001 From: Mark Bolhuis Date: Wed, 7 Sep 2022 00:59:08 +0100 Subject: 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. --- docs/markdown/Wayland-module.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/markdown') 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--core.h` instead of `wayland-.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 -- cgit v1.3