Re: [Vala] How to bind a C library(libsvn)
- From: Evan Nemerson <evan coeus-group com>
- To: aconsuegra uci cu, vala-list gnome org
- Subject: Re: [Vala] How to bind a C library(libsvn)
- Date: Thu, 26 Nov 2009 22:04:27 -0800
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]