Re: [Vala] How to create bindings from arbitrary C code which does not use GObject ?

2011-12-19 Thread Michael 'Mickey' Lauer
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

[Vala] How to create bindings from arbitrary C code which does not use GObject ?

2011-12-18 Thread Serge Hulne
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