Null Value Type?

jamie jamiemcc at blueyonder.co.uk
Sun Aug 5 04:49:24 PDT 2007


hi,

While discussing XESAM API theres a need to handle null values and we
dont want to complicate the api by adding bools to indicate not null
status

I realise there is no support for null values but one suggestion is to
have a Null Value Type with a separate type signature which could be
used when returning a variant to indicate null for a value

this would not break anything as it would be a new data type - is this
feasible to have in a future dbus version?

(of course its only useful for an api that use variants)

if not we can always use an unused dbus type to represent null but thats
a bit hacky!

jamie








More information about the dbus mailing list