diff options
author | Colin Walters <walters@verbum.org> | 2005-07-09 18:54:45 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2005-07-09 18:54:45 +0000 |
commit | 745b19d640e657118b298c6b7cc37798af878a5a (patch) | |
tree | b5143d1b1f5b92efcd0cda93aa9ff890bbc9bdf4 /glib/dbus-glib-tool.h | |
parent | b1ae5399f82a88ba397d55f224d00f437564bac5 (diff) |
2005-07-09 Colin Walters <walters@verbum.org>
* glib/dbus-gparser.c (parse_annotation): Add annotations to
argument if available, not method.
* glib/dbus-gobject.c (arg_iterate): More verbose warnings.
(invoke_object_method): First, remove some redundant
GValues (object_value, error_value) in favor of working on
array directly. Second, rework constness to be less buggy.
Now we iterate directly over the argument metadata instead
of parallel iterating over output signature and metadata.
* glib/dbus-glib-tool.h: Add INVALID_ANNOTATION error.
* glib/dbus-binding-tool-glib.c (generate_glue): Barf on const
annotation on input args.
Diffstat (limited to 'glib/dbus-glib-tool.h')
-rw-r--r-- | glib/dbus-glib-tool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glib/dbus-glib-tool.h b/glib/dbus-glib-tool.h index b56d764a..0c61de74 100644 --- a/glib/dbus-glib-tool.h +++ b/glib/dbus-glib-tool.h @@ -27,7 +27,8 @@ typedef enum { - DBUS_BINDING_TOOL_ERROR_UNSUPPORTED_CONVERSION + DBUS_BINDING_TOOL_ERROR_UNSUPPORTED_CONVERSION, + DBUS_BINDING_TOOL_ERROR_INVALID_ANNOTATION } DBusBindingToolError; #define DBUS_BINDING_TOOL_ERROR dbus_binding_tool_error_quark () |