Re: [Vala] c and c++
- From: "Michael Lawrence" <mflawren fhcrc org>
- To: "Matías De la Puente" <mfpuente ar gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] c and c++
- Date: Sat, 17 May 2008 13:46:46 -0700
2008/5/17 Matías De la Puente <
mfpuente.ar@
gmail.com>:
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.
I think you could use the metadata to specify is_value_type="1" for the gsl_complex type. That's assuming that you always treat it as a value in GSL.
I managed to do with success bindings only handle simple arrays as the functions in gsl_stats.h
itś seem there many people working in new vala bindings, but are there a official place to this bindings?
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
ok.
Matias
Matias
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]