2008/5/17 Martin (OpenGeoMap) <
martin opengeomap org>:
Hello martin,
i was trying to make a binding for GSL but the problem I had was that I could not give a structure as a parameter to a function. For example with the "gsl_complex_arg" you need a structure "gsl_complex"; VALA only deliver structure to function using reference. Already post my doubts but nobody gave me an answer ...
you always can create some gobject code before VAPI file??
You can add attributes to the code of your class if you are referring
to that. For example can add [CCode cname =...., cheader_filename
=.....]" to a private function of your class to access any function in c.
The only obstacle that I have to make a binding for GSL is the passage of a structure to a function.