[patch] updated glib work snapshot

Havoc Pennington hp at redhat.com
Wed May 4 11:56:48 PDT 2005


On Wed, 2005-05-04 at 14:02 -0400, Colin Walters wrote:
> 
> But that doesn't work in general for recursive types; e.g. "aas".  
> 

For string arrays the most natural binding is probably
null-terminated...

For int arrays something like:

 struct { int *values, int len } 

perhaps?

Blah. Recursive types are just nasty. btw, I don't think the
cut-and-paste of ghash/garray is going to work... it's too fragile. So
maybe we have to suck it up and have destructors or something.

It might be useful to sit down with Owen and Matthias and get some
insights from them.

Havoc




More information about the dbus mailing list