Re: [Vala] Problem converting library



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]