dbus_message_append_args(_valist) docs out of date

Tony Houghton h at realh.co.uk
Wed Apr 20 16:58:22 PDT 2005


The docs for dbus_message_append_args say you should call it like this:

  DBUS_TYPE_INT32, 42,
  DBUS_TYPE_STRING, "Hello World"

but this seems to have changed in 0.3x and you now have to call it like
this:

  dbus_int32_t val1 = 42;
  const char *val2 = "Hello World";
  ...
  DBUS_TYPE_INT32, &val1,
  DBUS_TYPE_STRING, &val2

-- 
TH * http://www.realh.co.uk


More information about the dbus mailing list