From a21b922c15be628317158fef353802a13b3568bf Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 5 May 2010 13:38:59 +0200 Subject: [PATCH 4/7] Include DBUS_TYPE_IS_ARRAY in documentation --- dbus/dbus-marshal-recursive.c | 4 ++-- dbus/dbus-signature.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbus/dbus-marshal-recursive.c b/dbus/dbus-marshal-recursive.c index 01b2286..84fd75f 100644 --- a/dbus/dbus-marshal-recursive.c +++ b/dbus/dbus-marshal-recursive.c @@ -801,8 +801,8 @@ _dbus_type_reader_get_current_type (const DBusTypeReader *reader) /** * Gets the type of an element of the array the reader is currently * pointing to. It's an error to call this if - * _dbus_type_reader_get_current_type() doesn't return #DBUS_TYPE_ARRAY - * for this reader. + * _dbus_type_reader_get_current_type() is not an array for this reader, + * see #DBUS_TYPE_IS_ARRAY. * * @param reader the reader */ diff --git a/dbus/dbus-signature.c b/dbus/dbus-signature.c index 3c763cb..9e476c9 100644 --- a/dbus/dbus-signature.c +++ b/dbus/dbus-signature.c @@ -137,7 +137,7 @@ dbus_signature_iter_get_signature (const DBusSignatureIter *iter) * getting its current type. * * Undefined behavior results if you invoke this function when the - * current type of the iterator is not #DBUS_TYPE_ARRAY. + * current type of the iterator is not an array, see #DBUS_TYPE_IS_ARRAY. * * @param iter pointer to an iterator * @returns current array element type -- 1.7.1