While the 'extern' way is a quick and pragmatic way to integrate
arbitrary C code, I'd avise against it for larger libraries. A central
idea of the .vapi design is to allow bindings that match the language
spirit (i.e. by utilizing objects, delegates, closures, asynchronity,
etc.) and do not feel f
The binding tutorial (http://live.gnome.org/Vala/Bindings) says:
Vala is designed to allow access to existing C libraries, especially
GObject-based libraries, without the need for runtime bindings
and further:
The binding generation requires several steps:
- generating GObject Introspect