diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-04-25 21:50:19 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-04-25 21:50:19 (GMT) |
commit | c0602ab77f4bac2616604feeaf83f954126337be (patch) | |
tree | 60be8895ef31aab72771ec69a7a542b2ad30bda0 /java/src/jni/h5plImp.c | |
parent | ed39ad384253224e83906ae6228d3ccdb5b02633 (diff) | |
download | hdf5-c0602ab77f4bac2616604feeaf83f954126337be.zip hdf5-c0602ab77f4bac2616604feeaf83f954126337be.tar.gz hdf5-c0602ab77f4bac2616604feeaf83f954126337be.tar.bz2 |
Merge 1_10 branch to 1_10_1
HDFV10170 dyn lib changes
Plugin API changes
Diffstat (limited to 'java/src/jni/h5plImp.c')
-rw-r--r-- | java/src/jni/h5plImp.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/java/src/jni/h5plImp.c b/java/src/jni/h5plImp.c index 5a2d3ba..f064634 100644 --- a/java/src/jni/h5plImp.c +++ b/java/src/jni/h5plImp.c @@ -211,13 +211,11 @@ JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5PLsize (JNIEnv *env, jclass clss) { - int retVal = -1; - - retVal = H5PLsize(); - if (retVal < 0) + unsigned int listsize = 0; + if (H5PLsize(&listsize) < 0) { h5libraryError(env); - - return (jint)retVal; + } + return (jint)listsize; } /* end Java_hdf_hdf5lib_H5_H5PLsize */ #ifdef __cplusplus |