[PATCH] Support for DBUS_TYPE_ARRAY in dbus/tools/dbus-print-message.c

David Eriksson twogood at users.sourceforge.net
Fri Nov 26 09:04:24 PST 2004


Hi everyone,

I like D-BUS better every day! :-)

I have attached a patch that adds DBUS_TYPE_ARRAY support to the tools
that use the print_message function.

Changes:

o Make a separate function print_iter() with the iterator loop

o Call print_iter() from print_message()

o On DBUS_TYPE_ARRAY in print_iter(), call print_iter() with the array
iterator

I hope I got the source code formatting right! :-)

-- 
Regards,
               -\- David Eriksson -/-

        SynCE - http://synce.sourceforge.net
      ScummVM - http://scummvm.sourceforge.net
     Desquirr - http://desquirr.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tools_array_support.diff
Type: text/x-patch
Size: 4698 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20041126/455e53e5/tools_array_support.bin


More information about the dbus mailing list