From afa4ffbd852686633086569cd34942917c5c49af Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 21 Oct 2006 17:08:08 +0000 Subject: 2006-10-21 Havoc Pennington * dbus/dbus-message.h: put #ifndef DBUS_DISABLE_DEPRECATED around dbus_message_iter_get_array_len(). * throughout: documentation improvements. --- dbus/dbus-marshal-recursive.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbus/dbus-marshal-recursive.c') diff --git a/dbus/dbus-marshal-recursive.c b/dbus/dbus-marshal-recursive.c index 501e9a53..bcea4c36 100644 --- a/dbus/dbus-marshal-recursive.c +++ b/dbus/dbus-marshal-recursive.c @@ -560,7 +560,7 @@ array_reader_next (DBusTypeReader *reader, _dbus_assert (reader->value_pos >= reader->u.array.start_pos); switch (_dbus_first_type_in_signature (reader->type_str, - reader->type_pos)) + reader->type_pos)) { case DBUS_TYPE_DICT_ENTRY: case DBUS_TYPE_STRUCT: @@ -875,10 +875,10 @@ _dbus_type_reader_read_basic (const DBusTypeReader *reader, } /** - * Returns the number of values remaining in the current array reader. + * Returns the number of bytes in the array. * * @param reader the reader to read from - * @returns the number of elements remaining in the array + * @returns the number of bytes in the array */ int _dbus_type_reader_get_array_length (const DBusTypeReader *reader) -- cgit