diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-04-15 13:12:59 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-04-20 18:24:18 +0000 |
commit | 2993eaf8844cfc04800ac22ab4012c8ee6f87b0e (patch) | |
tree | 445ca5c2046672f2eb8e37caed3edf78d036d21d /docs/markdown | |
parent | b5c919ebfeb18fd06b89cacb9eb4501861bbc651 (diff) | |
download | meson-2993eaf8844cfc04800ac22ab4012c8ee6f87b0e.zip meson-2993eaf8844cfc04800ac22ab4012c8ee6f87b0e.tar.gz meson-2993eaf8844cfc04800ac22ab4012c8ee6f87b0e.tar.bz2 |
docs: Update gnome.gdbus-codegen docs
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Gnome-module.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md index 3db6cc0..1bf333f 100644 --- a/docs/markdown/Gnome-module.md +++ b/docs/markdown/Gnome-module.md @@ -227,9 +227,11 @@ useful when running the application locally for example during tests. ### gnome.gdbus_codegen() Compiles the given XML schema into gdbus source code. Takes two -positional arguments, the first one specifies the name of the source -files and the second specifies the XML file name. +positional arguments, the first one specifies the base name to use +while creating the output source and header and the second specifies +one XML file. +* `sources`: list of XML files * `interface_prefix`: prefix for the interface * `namespace`: namespace of the interface * `object_manager`: *(Added 0.40.0)* if true generates object manager code @@ -257,7 +259,8 @@ Example: gnome = import('gnome') # The returned source would be passed to another target -gdbus_src = gnome.gdbus_codegen('example-interface', 'com.example.Sample.xml', +gdbus_src = gnome.gdbus_codegen('example-interface', + sources: 'com.example.Sample.xml', interface_prefix : 'com.example.', namespace : 'Sample', annotations : [ |