[Vala] RE : array of function pointer



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,

don't you think that this vapi file can be part of the officisl GSL repository. (the git one) ?

In the binding I have to create a delegate because is the only way that vala
point to a function.
MultirootF was the only name that occurred me to use. The importat think is
the parameters (Vector, void*, Vector ) and the returned type (int)...

good name :).
the problem with vala is that you can not declare a parameter as a constant.
so you have warnings during the C colpilation.
the real C signature is (const gsl_vector*, void*, gsl_vector*) 


I Think vala do not handle array of delegate, see
http://bugzilla.gnome.org/show_bug.cgi?id=521688

so we need to waite a little longer :)

I Think in the near future a static delegate will desappear, see
http://bugzilla.gnome.org/show_bug.cgi?id=526549
I still don't know how will be implemented the static delegates, but i will
change the gsl vapi file with the proper code...

Good luke.

You are welcome, any opinion is welcome

I am using the multiroot minimization and root finding so if I find something wrong, I will send a patch.

PS: you are f7 in the irc?

No sorry :)

which irc canal is it ?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]