NULL Variants?

Jakub Piotr Cłapa jpc at pld-linux.org
Mon Aug 29 05:13:08 PDT 2005


Nate Nielsen wrote:
> When sending a DBUS variant across the wire, is there a way to specify a
> NULL/None/Missing value? I'm using the GLib bindings. I've tried various
> things and gotten crashes and big bad warnings.
> 
> Cheers,
> Nate
> 
> Note: It remains to be seen if this will actually make it to the dbus
> list. It seems some messages never turn up.

I'm sending Bytes with value of 0 (since I never use them as the valid 
values in my protocol). Maybe a NULL type could be a useful addition 
(AFAIK there is nothing right now that resembles it).

-- 
Regards,
Jakub Piotr Cłapa


More information about the dbus mailing list