summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2019-09-03 13:03:28 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2019-09-03 13:03:28 (GMT)
commitdaecf8f06d382cd34091c3ccc06c38fb81d9beb6 (patch)
treefc6ea48b6ff3706e868638a67eb8c83cc482dc9f
parentbde9257f0228d71fdf23cb6743e79882f1975a74 (diff)
downloadhdf5-daecf8f06d382cd34091c3ccc06c38fb81d9beb6.zip
hdf5-daecf8f06d382cd34091c3ccc06c38fb81d9beb6.tar.gz
hdf5-daecf8f06d382cd34091c3ccc06c38fb81d9beb6.tar.bz2
Changed H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COOR to
H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD per a review comment.
-rw-r--r--src/H5D.c2
-rw-r--r--src/H5VLnative.h2
-rw-r--r--src/H5VLnative_dataset.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/H5D.c b/src/H5D.c
index a22f173..107ac55 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1236,7 +1236,7 @@ H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned *filte
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid argument (null)")
/* Call private function to get the chunk info given the chunk's index */
- if(H5VL_dataset_optional(vol_obj, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COOR, offset, filter_mask, addr, size) < 0)
+ if(H5VL_dataset_optional(vol_obj, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD, offset, filter_mask, addr, size) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "Can't get chunk info by its logical coordinates")
done:
diff --git a/src/H5VLnative.h b/src/H5VLnative.h
index 73c6189..a8d5720 100644
--- a/src/H5VLnative.h
+++ b/src/H5VLnative.h
@@ -38,7 +38,7 @@ typedef int H5VL_native_dataset_optional_t;
#define H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE 2 /* H5Dget_chunk_storage_size */
#define H5VL_NATIVE_DATASET_GET_NUM_CHUNKS 3 /* H5Dget_num_chunks */
#define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX 4 /* H5Dget_chunk_info */
-#define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COOR 5 /* H5Dget_chunk_info_by_coord */
+#define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD 5 /* H5Dget_chunk_info_by_coord */
#define H5VL_NATIVE_DATASET_CHUNK_READ 6 /* H5Dchunk_read */
#define H5VL_NATIVE_DATASET_CHUNK_WRITE 7 /* H5Dchunk_write */
diff --git a/src/H5VLnative_dataset.c b/src/H5VLnative_dataset.c
index 4f7f2b5..676d859 100644
--- a/src/H5VLnative_dataset.c
+++ b/src/H5VLnative_dataset.c
@@ -528,7 +528,7 @@ H5VL__native_dataset_optional(void *obj, hid_t H5_ATTR_UNUSED dxpl_id,
break;
}
- case H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COOR:
+ case H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD:
{ /* H5Dget_chunk_info_by_coord */
hsize_t *offset = HDva_arg(arguments, hsize_t *);
unsigned *filter_mask = HDva_arg(arguments, unsigned *);