OK to hold on to DBusMessage?

Daniel B. Faken faken at cascv.brown.edu
Sat May 14 09:37:08 PDT 2005

[I sent this a while ago but I guess no one is monitoring the 'messages 
posted by non-subscribers' list]

Hello all,

  I was implementing some bindings and realized I could just use the 
DBusMessage as an array type, only decoding it when its elements are 
dereferenced.  To avoid copying..
  Is this a bad idea?  Will keeping it around affect other objects (e.g. 
keep them in memory)?  How about having a way to add references to 
individual elements (that is, the typed-values accessed by an iterator - 
esp. container types)?

Daniel Faken

More information about the dbus mailing list