diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-09-05 20:11:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 20:11:52 (GMT) |
commit | 920869796031ed4ee9c1fbea8aaccda3592a88b3 (patch) | |
tree | 30f007ff79b87a79c882d9149cdbfcb797be92e1 /test/tcoords.c | |
parent | ae1379094b71c51342772397af5caca088862a61 (diff) | |
download | hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.zip hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.gz hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.bz2 |
Convert hbool_t --> bool in test (#3494)
Diffstat (limited to 'test/tcoords.c')
-rw-r--r-- | test/tcoords.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/tcoords.c b/test/tcoords.c index dbe6ab1..4f6ea24 100644 --- a/test/tcoords.c +++ b/test/tcoords.c @@ -42,7 +42,7 @@ static int da_buffer[2][3][6][2]; ** *************************************************************/ static void -test_singleEnd_selElements(hid_t file, hbool_t is_chunked) +test_singleEnd_selElements(hid_t file, bool is_chunked) { hid_t sid, plid, did, msid; char dset_name[NAME_LEN]; /* Dataset name */ @@ -225,7 +225,7 @@ test_singleEnd_selElements(hid_t file, hbool_t is_chunked) ** *************************************************************/ static void -test_singleEnd_selHyperslab(hid_t file, hbool_t is_chunked) +test_singleEnd_selHyperslab(hid_t file, bool is_chunked) { hid_t sid, did, msid; char dset_name[NAME_LEN]; /* Dataset name */ @@ -371,7 +371,7 @@ test_singleEnd_selHyperslab(hid_t file, hbool_t is_chunked) ** *************************************************************/ static void -test_multiple_ends(hid_t file, hbool_t is_chunked) +test_multiple_ends(hid_t file, bool is_chunked) { hid_t sid, plid, did, msid; char dset_name[NAME_LEN]; /* Dataset name */ @@ -680,10 +680,10 @@ test_multiple_ends(hid_t file, hbool_t is_chunked) void test_coords(void) { - hid_t fid; - hbool_t is_chunk[2] = {TRUE, FALSE}; - int i; - herr_t ret; /* Generic error return */ + hid_t fid; + bool is_chunk[2] = {true, false}; + int i; + herr_t ret; /* Generic error return */ fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(fid, FAIL, "H5Fcreate"); |