Struct in signal
brenno.freire at fucapi.br
Fri Feb 27 03:17:44 PST 2009
I can send a struct through a signal with the help of some members of
the list, now i have another question, how can i get this struct when
reveice get this signal?
Em Qua, 2009-02-18 às 19:21 -0500, Havoc Pennington escreveu:
> On Wed, Feb 18, 2009 at 1:08 PM, Brenno Freire <brenno.freire at fucapi.br> wrote:
> > Got the following error. " arguments to dbus_message_iter_append_basic()
> > were incorrect, assertion "dbus_type_is_basic (type)" failed in file
> > dbus-message.c line 2241.
> > This is normally a bug in some application using the D-Bus library.
> > D-Bus not built with -rdynamic so unable to print a backtrace
> > "
> > You could guide me?
> There is a bug in your application which is that DBUS_TYPE_STRUCT is
> not dbus_type_is_basic().
> The documentation for dbus_message_iter_append_basic() should explain.
> You need to use dbus_message_iter_open_container() to open the struct
> then append each struct field individually.
More information about the dbus