DBus Low level API - Receiving complex structures

Thiago Macieira thiago at kde.org
Tue Aug 16 04:29:10 PDT 2011


On Tuesday, 16 de August de 2011 10:27:08 Simon McVittie wrote:
>   GValueArray<gint, gint, GPtrArray<GValueArray<gchar *, gchar *, gint,
> gint>>>

Looks like there's one > too many there :-)

> Its GType is:
> 
>   dbus_g_type_get_struct ("GValueArray",
>     G_TYPE_INT,
>     G_TYPE_INT,
>     dbus_g_type_get_collection ("GPtrArray",
>       dbus_g_type_get_struct ("GValueArray",
>         G_TYPE_STRING,
>         G_TYPE_STRING,
>         G_TYPE_INT,
>         G_TYPE_INT)),
>     G_TYPE_INVALID);
> 
> (Ugh.)

And it looks like there's one G_TYPE_INVALID missing, before the )).

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110816/499b893b/attachment.pgp>


More information about the dbus mailing list