aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-09-03 14:30:36 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-09-08 08:06:45 +0000
commit935121b568af9c58f9619354904a4c623e280b79 (patch)
tree0d8299f7b5d8a1acfb84e841eec2324fd38046ab /build-aux
parent5adf577f4cb1db0d1df4c2c7eea6156f1ba707a5 (diff)
qmi-codegen: (skip) return value in result field parser
The return value (TRUE or FALSE) is not required in the introspection support because the method already throws an exception on failure (in other words, if there is no exception the return value would always be TRUE), so explicitly (skip) it. This commit ends up triggering an API break in the bindings generated via GObject introspection, because the field parser would now have no return arguments. E.g. instead of: success = output.get_result() We should now do: output.get_result() There is no API break in libqmi-glib.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/qmi-codegen/FieldResult.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/qmi-codegen/FieldResult.py b/build-aux/qmi-codegen/FieldResult.py
index 2064e7e..a540fbc 100644
--- a/build-aux/qmi-codegen/FieldResult.py
+++ b/build-aux/qmi-codegen/FieldResult.py
@@ -63,7 +63,7 @@ class FieldResult(Field):
' *\n'
' * Get the result of the QMI operation.\n'
' *\n'
- ' * Returns: %TRUE if the QMI operation succeeded, %FALSE if @error is set.\n'
+ ' * Returns: (skip): %TRUE if the QMI operation succeeded, %FALSE if @error is set.\n'
' *\n'
' * Since: ${since}\n'
' */\n')