diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-16 14:30:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 14:30:56 (GMT) |
commit | 41b474bf4acd1816aa62aad6e1d55ef7375b2870 (patch) | |
tree | 74a5ae51be303e29de435e4e5138699d397896b8 /java/src/jni/h5pFCPLImp.c | |
parent | 546d79dad7b75e58160a4110bd27c75272b69678 (diff) | |
download | hdf5-41b474bf4acd1816aa62aad6e1d55ef7375b2870.zip hdf5-41b474bf4acd1816aa62aad6e1d55ef7375b2870.tar.gz hdf5-41b474bf4acd1816aa62aad6e1d55ef7375b2870.tar.bz2 |
Remove hbool_t/TRUE/FALSE from java (#3145)
Replaces with bool/true/false
Diffstat (limited to 'java/src/jni/h5pFCPLImp.c')
-rw-r--r-- | java/src/jni/h5pFCPLImp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/jni/h5pFCPLImp.c b/java/src/jni/h5pFCPLImp.c index 72c8869..9e6845d 100644 --- a/java/src/jni/h5pFCPLImp.c +++ b/java/src/jni/h5pFCPLImp.c @@ -294,7 +294,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1file_1space_1strategy(JNIEnv *env, jclass clss, jlon { UNUSED(clss); - if (H5Pset_file_space_strategy((hid_t)fcpl_id, (H5F_fspace_strategy_t)strategy, (hbool_t)persist, + if (H5Pset_file_space_strategy((hid_t)fcpl_id, (H5F_fspace_strategy_t)strategy, (bool)persist, (hsize_t)threshold) < 0) H5_LIBRARY_ERROR(ENVONLY); @@ -325,7 +325,7 @@ Java_hdf_hdf5lib_H5_H5Pget_1file_1space_1strategy(JNIEnv *env, jclass clss, jlon PIN_LONG_ARRAY(ENVONLY, threshold, thresholdArray, &isCopy, "H5Pget_file_space: threshold not pinned"); - if ((status = H5Pget_file_space_strategy((hid_t)fcpl_id, &thestrategy, (hbool_t *)persistArray, + if ((status = H5Pget_file_space_strategy((hid_t)fcpl_id, &thestrategy, (bool *)persistArray, (hsize_t *)thresholdArray)) < 0) H5_LIBRARY_ERROR(ENVONLY); @@ -346,8 +346,8 @@ done: JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Pget_1file_1space_1strategy_1persist(JNIEnv *env, jclass clss, jlong fcpl_id) { - hbool_t persist = FALSE; - herr_t status = FAIL; + bool persist = false; + herr_t status = FAIL; UNUSED(clss); |