Re: GObject-Introspection
- From: Johan Dahlin <jdahlin async com br>
- To: Michael Lawrence <mflawren fhcrc org>
- Cc: language-bindings gnome org, Johan Dahlin <johan gnome org>, Gtk+ Developers <gtk-devel-list gnome org>, Havoc Pennington <hp pobox com>
- Subject: Re: GObject-Introspection
- Date: Mon, 01 Sep 2008 17:10:49 +0200
Michael Lawrence wrote:
[..]
The VAPI format from the Vala project is a nice human-writeable format
that should soon be convertable to GIR (currently can be converted to GIDL).
Example:
public class Gtk.Label : Gtk.Misc {
public void get(out text);
...
}
Using an IDL such as VAPI has been discussed and it's likely that we'll
sometimes move to that in the future (for Gtk+). That'd mean that large
portions of the .c and the complete headers can be generated from this
information.
It'll reduce duplication and the manual labor required to add new or
maintain existing APIs considerably.
However, for g-i we're taking the path of scanning headers/sources as it
requires less work from what we have today.
Johan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]