Mercurial > hg > octave-nkf
comparison libinterp/octave-value/ov-java.cc @ 20460:209ee4a730f6 stable
Convert double Octave vectors to double Java vectors (bug #45264).
* ov-java.cc (unbox): Add missing IF_UNBOX_PRIMITIVE_ARRAY macro instantiation
for double values.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 09 Jun 2015 16:10:59 -0700 |
parents | 075a5e2e1ba5 |
children | 0d94ec291ee6 137f183b7dee |
comparison
equal
deleted
inserted
replaced
20456:6fe746def1aa | 20460:209ee4a730f6 |
---|---|
1294 jcls = jni_env->GetObjectClass (jobj); \ | 1294 jcls = jni_env->GetObjectClass (jobj); \ |
1295 } | 1295 } |
1296 | 1296 |
1297 // Note that we do NOT handle char here because they are unboxed | 1297 // Note that we do NOT handle char here because they are unboxed |
1298 // into a String[], not into a char array | 1298 // into a String[], not into a char array |
1299 IF_UNBOX_PRIMITIVE_ARRAY(bool, bool_, bool, jboolean, Boolean) | 1299 IF_UNBOX_PRIMITIVE_ARRAY(double, , , jdouble, Double) |
1300 else IF_UNBOX_PRIMITIVE_ARRAY(bool, bool_, bool, jboolean, Boolean) | |
1300 else IF_UNBOX_PRIMITIVE_ARRAY(float, float_, Float, jfloat, Float) | 1301 else IF_UNBOX_PRIMITIVE_ARRAY(float, float_, Float, jfloat, Float) |
1301 else IF_UNBOX_PRIMITIVE_ARRAY(int8, int8_, int8, jbyte, Byte) | 1302 else IF_UNBOX_PRIMITIVE_ARRAY(int8, int8_, int8, jbyte, Byte) |
1302 else IF_UNBOX_PRIMITIVE_ARRAY(uint8, uint8_, uint8, jbyte, Byte) | 1303 else IF_UNBOX_PRIMITIVE_ARRAY(uint8, uint8_, uint8, jbyte, Byte) |
1303 else IF_UNBOX_PRIMITIVE_ARRAY(int16, int16_, int16, jshort, Short) | 1304 else IF_UNBOX_PRIMITIVE_ARRAY(int16, int16_, int16, jshort, Short) |
1304 else IF_UNBOX_PRIMITIVE_ARRAY(uint16, uint16_, uint16, jshort, Short) | 1305 else IF_UNBOX_PRIMITIVE_ARRAY(uint16, uint16_, uint16, jshort, Short) |