passing NULL with Glib interface
Claessens Xavier
x_claessens at skynet.be
Sat Nov 5 01:39:33 PST 2005
Hi !
When I send a G_TYPE_STRING through D-BUS with a NULL string, I receive
on the other side a string "\0" and not NULL. Same with a G_TYPE_STRV
terminated by NULL {"hello", "world", NULL} D-BUS transmit this:
{"hello", "world", "\0"}
Is it a bug, feature or something missing on my code ?
Thanks,
Xavier Claessens.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20051105/0ee40923/attachment.pgp
More information about the dbus
mailing list