Re: [Vala] valac can read a typelib in place of a vapi binding

2011-04-02 Thread Jürg Billeter
Hi Adam, On Fri, 2011-04-01 at 13:07 -0700, Adam Dingle wrote: I realized to my surprise today that valac (0.11.7) can read a GObject introspection type library in place of a VAPI file! For example, I can specify '--pkg PeasGtk-1.0' on the command line and valac will read types from

Re: [Vala] valac can read a typelib in place of a vapi binding

2011-04-02 Thread Adam Dingle
On 04/02/2011 07:21 AM, Jürg Billeter wrote: Hi Adam, ... 2. Is there a long-term plan to deprecate .vapi files in favor of type libraries? Can type libraries express everything that .vapi files can? GIR files (vala doesn't read typelibs, it reads the xml versions) cannot express everything

[Vala] valac can read a typelib in place of a vapi binding

2011-04-01 Thread Adam Dingle
I realized to my surprise today that valac (0.11.7) can read a GObject introspection type library in place of a VAPI file! For example, I can specify '--pkg PeasGtk-1.0' on the command line and valac will read types from /usr/lib/girepository-1.0/PeasGtk-1.0.typelib, which lets me use libpeas

Re: [Vala] valac can read a typelib in place of a vapi binding

2011-04-01 Thread Aleksander Wabik
INAVD (I'm not a Vala developer ;)) I realized to my surprise today that valac (0.11.7) can read a GObject introspection type library in place of a VAPI file! For example, I can specify '--pkg PeasGtk-1.0' on the command line and valac will read types from