Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more consistant identifier names around Java objects' finalization
[simgrid.git] / src / bindings / java / surfJAVA_wrap.cxx
index 32b8675..26157af 100644 (file)
@@ -1,6 +1,6 @@
 /* ----------------------------------------------------------------------------
  * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 2.0.12
  *
  * This file is not intended to be easily readable and contains a number of
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1569,7 +1569,7 @@ Cpu *SwigDirector_CpuModel::createCpu(char const *name, DoubleDynar power_peak,
     long l = xbt_dynar_length(power_peak);
     jpower_peak = jenv->NewDoubleArray(l);
     double *lout = (double *)xbt_dynar_to_array(power_peak);
-    jenv->SetDoubleArrayRegion(jpower_peak, 0, l, (const jdouble*)lout);
+    jenv->SetDoubleArrayRegion(jpower_peak, 0, l, (jdouble*)lout);
     free(lout);
     
     jpstate = (jint) pstate;