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
And you will see glib and non-glib based libs and at the bottom a tutorial
for Glib/GObject based libs


Another trick could be mangling the headers until vala-gen-introspect
them and then straighten the resulting file by hand.

vala-gen-introspect has difficulties with macros like GAULFUNC.


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