summaryrefslogtreecommitdiffstats
path: root/src/H5Pdeprec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Pdeprec.c')
-rw-r--r--src/H5Pdeprec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Pdeprec.c b/src/H5Pdeprec.c
index 5c4e962..4374730 100644
--- a/src/H5Pdeprec.c
+++ b/src/H5Pdeprec.c
@@ -506,11 +506,11 @@ H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a property list");
/* Verify access property list and set up collective metadata if appropriate */
- if (H5CX_set_apl(&temp_fapl_id, H5P_CLS_FACC, H5I_INVALID_HID, TRUE) < 0)
+ if (H5CX_set_apl(&temp_fapl_id, H5P_CLS_FACC, H5I_INVALID_HID, true) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTSET, H5I_INVALID_HID, "can't set access property list info");
/* Call the internal encode routine */
- if ((ret_value = H5P__encode(plist, TRUE, buf, nalloc)) < 0)
+ if ((ret_value = H5P__encode(plist, true, buf, nalloc)) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTENCODE, FAIL, "unable to encode property list");
done:
@@ -531,7 +531,7 @@ H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t thresh
{
H5F_fspace_strategy_t new_strategy; /* File space strategy type */
- hbool_t new_persist = H5F_FREE_SPACE_PERSIST_DEF; /* Persisting free-space or not */
+ bool new_persist = H5F_FREE_SPACE_PERSIST_DEF; /* Persisting free-space or not */
hsize_t new_threshold = H5F_FREE_SPACE_THRESHOLD_DEF; /* Free-space section threshold */
H5F_file_space_type_t in_strategy = strategy; /* Input strategy */
hsize_t in_threshold = threshold; /* Input threshold */
@@ -557,7 +557,7 @@ H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t thresh
switch (in_strategy) {
case H5F_FILE_SPACE_ALL_PERSIST:
new_strategy = H5F_FSPACE_STRATEGY_FSM_AGGR;
- new_persist = TRUE;
+ new_persist = true;
new_threshold = in_threshold;
break;
@@ -600,7 +600,7 @@ herr_t
H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy /*out*/, hsize_t *threshold /*out*/)
{
H5F_fspace_strategy_t new_strategy; /* File space strategy type */
- hbool_t new_persist; /* Persisting free-space or not */
+ bool new_persist; /* Persisting free-space or not */
hsize_t new_threshold; /* Free-space section threshold */
herr_t ret_value = SUCCEED; /* Return value */