Re: [Vala] GSL binding problem: OdeivEvolve::apply
- From: Yu Feng <rainwoodman gmail com>
- To: Matías De la Puente <mfpuente ar gmail com>
- Cc: "Martin \(OpenGeoMap\)" <martin opengeomap org>, Vala-list <vala-list gnome org>
- Subject: Re: [Vala] GSL binding problem: OdeivEvolve::apply
- Date: Tue, 10 Mar 2009 22:41:08 -0400
On Mon, 2009-03-09 at 20:52 -0200, Matías De la Puente wrote:
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 ();
}
Thank you!
Yu
Matias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]