state of dbus and guadec dbus meeting notes
hp at redhat.com
Tue Jul 24 06:36:55 PDT 2007
Joe Shaw wrote:
> On 7/20/07, Havoc Pennington <hp at redhat.com> wrote:
>> - add "maybe" types, essentially typed NULL, i.e. "ms" = "maybe
>> string" = "string or null"
>> - C/Java/C#/C++ binding for "maybe int" and similar is ugly
> Small nitpick: C# has nullable value types, so you can declare "bool?
> foo;" and have its value be true, false, or null. So mapping this
> onto C# probably wouldn't be a problem.
> How you would do the others, though, I have no idea.
In C it probably has to be something like:
foo(gboolean haveCount, int count)
More information about the dbus