Re: [Vala] GSL binding problem: OdeivEvolve::apply
- From: Matías De la Puente <mfpuente ar gmail com>
- To: Feng Yu <rainwoodman gmail com>
- Cc: "Martin \(OpenGeoMap\)" <martin opengeomap org>, Vala-list <vala-list gnome org>
- Subject: Re: [Vala] GSL binding problem: OdeivEvolve::apply
- Date: Mon, 9 Mar 2009 20:52:29 -0200
Hi Yu,
You are right they should be ref doubles not arrays.
Here's the patch
diff --git a/vapi/gsl.vapi b/vapi/gsl.vapi
index 3ad9979..883c861 100644
--- a/vapi/gsl.vapi
+++ b/vapi/gsl.vapi
@@ -3514,7 +3514,7 @@ namespace Gsl
[CCode (cname="gsl_odeiv_evolve_alloc")]
public OdeivEvolve (size_t dim);
- public int apply (OdeivControl con, OdeivStep step, OdeivSystem* dydt, [CCode (array_length = false)] double[] t, double t1, [CCode (array_length = false)] double[] h, [CCode (array_length = false)] double[] y);
+ public int apply (OdeivControl con, OdeivStep step, OdeivSystem* dydt, ref double t, double t1, ref double h, [CCode (array_length = false)] double[] y);
public int reset ();
}
Matias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]