[Vala] array of function pointer

2008-08-14 Thread picca
Hello I am playing with the Gsl.vapi file. here the definition of a delegate type in this vapi file (no CCode for now) static delegate int MultirootF (Vector x, void* params, Vector f); In one of my classes I want an array of this MultirootF struct my_func { MultirootF[] fs; } For

[Vala] how to initialize a static struct ?

2008-08-14 Thread picca
Hello I have a struct like this public struct Lattice { public Parameter a; public Parameter b; public Parameter c; public Parameter alpha; public Parameter beta; public Parameter gamma; } the Parameter is also a struct with only a doubles. So I

Re: [Vala] array of function pointer

2008-08-14 Thread Matías De la Puente
2008/8/14 picca [EMAIL PROTECTED] Hello I am playing with the Gsl.vapi file. Great!! I think i was the only one.. here the definition of a delegate type in this vapi file (no CCode for now) static delegate int MultirootF (Vector x, void* params, Vector f); PS: The real c type of the

Re: [Vala] RE : array of function pointer

2008-08-14 Thread Matías De la Puente
2008/8/14 PICCA Frédéric-Emmanuel [EMAIL PROTECTED] Great!! I think i was the only one.. Thanks for the work you have done with GSL. I found 2 errors in the current .vapi. I will send you a patch in a next email, Great, I will update! don't you think that this vapi file can be part

[Vala] RE : RE : array of function pointer

2008-08-14 Thread PICCA Frédéric-Emmanuel
Yes, could be. We need to test it more. I see the link to the external vapi bindings in http://www.gnu.org/software/gsl/ (section extensions/applications). For me it's just fine... Yes but do you have a repository for the gsl.vapi ? Cheers ___

Re: [Vala] RE : RE : array of function pointer

2008-08-14 Thread Matías De la Puente
2008/8/14 PICCA Frédéric-Emmanuel [EMAIL PROTECTED] Yes, could be. We need to test it more. I see the link to the external vapi bindings in http://www.gnu.org/software/gsl/ (section extensions/applications). For me it's just fine... Yes but do you have a repository for the gsl.vapi ?

[Vala] [ANNOUNCE] Vala 0.3.5 - Compiler for the GObject type system

2008-08-14 Thread Jürg Billeter
We are pleased to announce version 0.3.5 of Vala, a compiler for the GObject type system. Vala 0.3.5 is now available for download at: http://download.gnome.org/sources/vala/0.3/ Changes since 0.3.4 * Notify on property changes by default (Jared Moore) * Add unique-1.0 bindings (Phil

Re: [Vala] GLX (OpenGL Extension to the X Window System) binding!!

2008-08-14 Thread Xavier Bestel
Hi, Le mercredi 13 août 2008 à 16:56 -0300, Matías De la Puente a écrit : Hello all, I made a glx binding for vala (glx.vapi). An example is also attach to this mail. For compile the example you need also the gl.vapi file (http://live.gnome.org/Vala/ExternalBindings). Compile the