Re: [Vala] Problem converting library

2009-05-16 Thread Sam Liddicott
You could try running the headerfile through the C pre-processor first (gcc -E) with any required includes so you expand out special declaration macros. Sam -Original Message- From: Nicolas Sent: 15 May 2009 19:12 To: vala-list@gnome.org Subject: [Vala] Problem converting library Hi

Re: [Vala] Problem converting library

2009-05-15 Thread Hans Baier
2009/5/16 Matías De la Puente : > 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 th

Re: [Vala] Problem converting library

2009-05-15 Thread Matías De la Puente
2009/5/15 Nicolas > Hi, > > I'm trying to port a non Glib library, and i have some problems. > For example, when vala-gen-introspect try to convert this: > 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

[Vala] Problem converting library

2009-05-15 Thread Nicolas
Hi, I'm trying to port a non Glib library, and i have some problems. For example, when vala-gen-introspect try to convert this: GAULFUNC population *ga_genesis_integer( const int population_size, const int num_chromo, const