Re: [Vala] VAPI file syntax documented somewhere?



On Tue, Mar 25, 2008 at 10:54 PM, Jaap A. Haitsma <jaap haitsma org> wrote:
 I'm trying to make  vala bindings for a library not based on gobject.
 Is there documentation on the syntax of the vapi file I have to create

Not really.. I at least didn't find any either..

 So far I only found [1], but that only talks about the case when you
 have a gobject based library

I looked at the bindings that came with vala...

http://svn.gnome.org/viewvc/vala/trunk/vapi/

Here's my non-gobject based bindings:

http://tinyurl.com/yueyls

Also, the people at the IRC channel were very helpful when reading
existing vapi-files weren't enough, or if something seemed confusing.
There's really not much diffrence between non-gobject and gobject
based bindings, it has mostly to do how your API looks like, and how
it works. In my case I had to modify the library I wrote bindings for
a tiny bit to make it a bit more vala-friendly (luckily
abi-compatible), it all depends on what you try to bind.

-- 
Daniel Svensson



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