Re: [Vala] Problem converting library
- From: Hans Baier <hansfbaier googlemail com>
- To: Matías De la Puente <mfpuente ar gmail com>
- Cc: Nicolas <c r n a wanadoo fr>, vala-list gnome org
- Subject: Re: [Vala] Problem converting library
- Date: Sat, 16 May 2009 08:48:17 +0700
2009/5/16 Matías De la Puente <mfpuente ar gmail com>:
You have to use vala-gen-introspect only for Glib/GObject based libs.
For non-Glib libraries you have to write the vapi file by hand.
Take a look at this page http://live.gnome.org/Vala/ExternalBindings
And you will see glib and non-glib based libs and at the bottom a tutorial
for Glib/GObject based libs
Matias
Another trick could be mangling the headers until vala-gen-introspect
understands
them and then straighten the resulting file by hand.
vala-gen-introspect has difficulties with macros like GAULFUNC.
Hans
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]