Re: [Vala] How to bind a C library(libsvn)



On Thu, 2009-11-26 at 23:58 -0500, Arley Consuegra Rosello wrote:
Someone can explain me how to bind a C library that is not based in
gobject.

You will most likely want to write the vapi by hand. Depending on the
library, this can be quite easy or rather trying. There are a number of
examples of handwritten vapis distributed with vala, the most prominent
being glib-2.0.

When writing bindings, valac -C is your friend--it provides an easy way
to see whether or not you're on the right track.


-Evan





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