Re: Introspection API
Matthias Clasen <[email protected]> Thu, 17 Feb 2005 16:41:11 -0500
| Newsgroups | gmane.comp.gnome.gtk+.devel.general,gmane.comp.gnome.language-bindings |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2005-02-17 at 16:26 -0500, Colin Walters wrote: > On Tue, 2005-02-15 at 15:38 -0500, Matthias Clasen wrote: > >Trying to attack the introspection problem from the api side. > >Here is an initial api proposal for an interface repository. > >I imagine this would be implemented on top of metadata blobs > >which are mmapped readonly, thus the various *Def objects can > >be very lightweight, essentially just a pointer to the metadata > >plus an offset. > > > >Does this look reasonable ? (except for the names, which are > > completely ad hoc) > > It looks pretty reasonable to me. I'm wondering a bit about the details > of this from the perspective of a GObject writer. How do you see the > metadata blobs being generated? > Header parsing -> xml -> metadata compiler -> binary metadata