On Wed, 21 Mar 2007 22:05:34 +0100 Kevin Krammer <[EMAIL PROTECTED]> babbled:
> On Wednesday 21 March 2007 21:57 +0100, Richard Hughes wrote: > > On Wed, 2007-03-21 at 15:58 -0400, Havoc Pennington wrote: > > > > As an alternative to a bitfield, one option is a dictionary of > > > properties. This is most likely nicer than a bitfield in say python, > > > and more annoying than a bitfield in C. > > > > Yes, a dictionary might be nice, but it's not trivial to access in C. > > This stuff really needs to be *trivial* for an application to access, > > hence why I think booleans are probably best. > > How likely is an application written in C not going to use the D-Bus glib > bindings? > > (Assuming that these bindings support dictionaries) hand up in this corner for starters. > Cheers, > Kevin > -- > Kevin Krammer, KDE developer, xdg-utils developer > KDE user support, developer mentoring > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
