DBusMessageIter: Add a function to abandon possibly-zero-filled iterators
authorSimon McVittie <smcv@collabora.com>
Tue, 4 Jul 2017 15:31:51 +0000 (16:31 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 5 Jul 2017 15:22:50 +0000 (16:22 +0100)
commit205fc2847dd2347733dbea74452b5cc11d937c14
tree5375b0fd150beb25e23aa566baa687433a9def3d
parented1f7af78cc979d3ab7d293753bae3a7130d3774
DBusMessageIter: Add a function to abandon possibly-zero-filled iterators

See the doc-comment of the new
dbus_message_iter_abandon_container_if_open() function for details.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101568
dbus/dbus-message.c
dbus/dbus-message.h