From 6461d4cda2b12ad2d41592d14b72548d1d225b29 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Fri, 8 Jun 2018 08:06:27 +0100 Subject: docs: Add release notes for new gnome.gdbus_codegen keywords --- docs/markdown/snippets/gdbus_codegen_options.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/markdown/snippets/gdbus_codegen_options.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/gdbus_codegen_options.md b/docs/markdown/snippets/gdbus_codegen_options.md new file mode 100644 index 0000000..d3dd84c --- /dev/null +++ b/docs/markdown/snippets/gdbus_codegen_options.md @@ -0,0 +1,14 @@ +## New options to gnome.gdbus_codegen + +You can now pass additional arguments to gdbus-codegen using the `extra_args` +keyword. This is the same for the other gnome function calls. + +Meson now automatically adds autocleanup support to the generated code. This +can be modified by setting the autocleanup keyword. + +For example: + + sources += gnome.gdbus_codegen('com.mesonbuild.Test', + 'com.mesonbuild.Test.xml', + autocleanup : 'none', + extra_args : ['--pragma-once']) -- cgit v1.1