Re: Introspection API
- From: Matthias Clasen <mclasen redhat com>
- To: Colin Walters <walters verbum org>
- Cc: language-bindings gnome org, gtk-devel-list gnome org, "Gustavo J. A. M. Carneiro" <gjc inescporto pt>
- Subject: Re: Introspection API
- Date: Fri, 25 Feb 2005 11:00:03 -0500
On Thu, 2005-02-24 at 18:16 -0500, Colin Walters wrote:
> On Thu, 2005-02-24 at 20:52 +0000, Gustavo J. A. M. Carneiro wrote:
> >On Thu, 2005-02-24 at 15:20 -0500, Matthias Clasen wrote:
> >>I have written up a draft spec for the format of the binary metadata
> >>to back up the repository api which I posted earlier. I hope to have
> >>some initial code implementing both of these soon.
> >>Comments highly appreciated,
> > OK, I probably missed something but, exactly how are language bindings
> >supposed to get the actual API function pointers? All I can see is
> >function name. Should we use dlsym() (or glib equivalent abstraction)?
> c_name: The symbol which can be used to obtain the function pointer with dlsym().
> So yes.
> > Once we get the function pointer, are we supposed to use libffi to
> >call the function with the actual parameters?
> Hmm. That is a problem. Perhaps we could provide a way to easily
> generate marshallers for functions in the introspection data on the
> client end. It's a little unclear to me how this would integrate into
Do you have an idea how such an api could look like ?
] [Thread Prev