Re: [Vala] c and c++
- From: "Matías De la Puente" <mfpuente ar gmail com>
- To: "Martin (OpenGeoMap)" <martin opengeomap org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] c and c++
- Date: Sat, 17 May 2008 14:27:04 -0300
2008/5/17 Martin (OpenGeoMap) <martin opengeomap org
you always can create some gobject code before VAPI file??
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 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.
itś seem there many people working in new vala bindings, but are there a official place to this bindings?
I managed to do with success bindings only handle simple arrays as the functions in gsl_stats.h
where can i find new vala binding to mysql and others?
when a binding itś official in VALA?. for example itś seems like sqlite bindings are official to VALA.
The only "binding" I know are those who deliver VALA, I do not know other site with bindings for VALA.
Good luck and we are in contact
] [Thread Prev