Jürg Billeter wrote:
I am new fan here =-O .Hi Martin, On Sat, 2008-05-17 at 11:27 -0300, Martin (OpenGeoMap) wrote:I would like to know if it will posible use c and c++ libraries without gobject??. For example i am using GSL (GNU Scientific Library) wittren in ANSI c without gobject API.You should be able to use any C library from Vala applications, however, you need a VAPI file, which describes the API of the C library. For non-GObject libraries, these VAPI files can't be generated at the moment, so you need to write them by hand. The vapi directory in the Vala tarballs contains many bindings, for both, GObject and non-GObject libraries, that you can use as examples. I have seem the VAPI sqlite file and itś really easy create C bindings. Congratulations to VALA TEAM for the great effort here. ;-) However, it's not possible to use C++ libraries from Vala, if they don't provide a C API. Jürg |