diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-04-24 20:50:05 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-04-25 14:40:54 (GMT) |
commit | 2599c231642879dad505291f7950d5bd796d80e1 (patch) | |
tree | cd839d286b6bddcafeecbe1ba55c00156b209136 /java | |
parent | 61d979c1e9173b5c3fe81f7dd6ce72dff414d623 (diff) | |
download | hdf5-2599c231642879dad505291f7950d5bd796d80e1.zip hdf5-2599c231642879dad505291f7950d5bd796d80e1.tar.gz hdf5-2599c231642879dad505291f7950d5bd796d80e1.tar.bz2 |
Change signature of H5PLget_size
Diffstat (limited to 'java')
-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..7ee1940 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 (H5PLget_loading_state(&listsize) < 0) { h5libraryError(env); - - return (jint)retVal; + } + return (jint)listsize; } /* end Java_hdf_hdf5lib_H5_H5PLsize */ #ifdef __cplusplus |