Re: allow for additional root types



On Wed, 2005-12-07 at 21:07 +0100, Stefan Kost wrote:
> hi,
> 
> yes! another mail ;)
> 
> The object hierarchy currently only has G_OBJECT and G_INTERFACE for the root 
> types (see gtkdoc-scangobj:768).
> This is usually sufficient, but bad, when a library has another root type.
> E.g. GSteamer introduces GST_MINI_OBJECT - a lightweight G_OBJECT alike type.
> 
> It would be cool to allow something like 
> --base-types="G_OBJECT,G_INTERFACE,GST_MINI_OBJECT" as part of SCANGOBJ_OPTIONS 
> (in Makefile.am) to override the defaults.
> 
> If it sounds good, I post a patch.
> 

It might be good enough to just use all the fundamental types listed in
the types file as tree roots, but an explicit commandline option won't
hurt either.

Matthias




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