mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 01:48:00 +02:00
dbus-marshal-recursive: Correct an incorrect comment
array_reader_check_finished() no longer returns a type, only a boolean, so this comment isn't accurate any more. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
831e8ac273
commit
606795f908
1 changed files with 1 additions and 4 deletions
|
|
@ -304,15 +304,12 @@ variant_reader_recurse (DBusTypeReader *sub,
|
|||
#endif
|
||||
}
|
||||
|
||||
/* return true if no more elements remain */
|
||||
static dbus_bool_t
|
||||
array_reader_check_finished (const DBusTypeReader *reader)
|
||||
{
|
||||
int end_pos;
|
||||
|
||||
/* return the array element type if elements remain, and
|
||||
* TYPE_INVALID otherwise
|
||||
*/
|
||||
|
||||
end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader);
|
||||
|
||||
_dbus_assert (reader->value_pos <= end_pos);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue