Re: Introspection



On Mon, 2005-01-10 at 23:59 -0500, muppet wrote:
> >> * Should documentation be included in the metadata ?
> >
> > YES! Everyone loves docstrings.
> 
> ... so long as you have gobs of ram for the bloat they will add to the  
> binary blob.

One could store them somewhere else and and avoid loading them until
they are actually requested. We have a vague plan to do something like
that for the property nicks and blubs as well.

> >> * Should type information for parametrized container types
> >>   be provided on the gobject level, or should we do a simple
> >>   ad-hoc description for such types ?
> >
> > How would such ad-hoc description work? Hardcoded knowledge about  
> > GList,
> > GHashTable, etc. into each binding?
> 
> I would think something like "GList of GObject" or "GHashTable string  
> to integer" would be quite sufficient.  Generically, "GList of  
> <typename>", "GSList of <typename>", "GHashTable <key typename> to  
> <value typename>".

Thats exactly what I had in mind.

Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]