Skip to content

Commit

Permalink
Fix typos in context/property documentation (HDFGroup#4550)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala authored Jun 7, 2024
1 parent 1dc0b67 commit c1b3255
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions src/H5CX.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,18 +289,18 @@ typedef struct H5CX_t {
(H5D_XFER_COLL_CHUNK_MULTI_RATIO_IND_NAME) */
bool mpio_coll_chunk_multi_ratio_ind_set; /* Whether instrumented "collective chunk multi ratio ind"
value is set */
bool mpio_coll_rank0_bcast; /* Instrumented "collective chunk multi ratio ind" value
(H5D_XFER_COLL_CHUNK_MULTI_RATIO_IND_NAME) */
bool mpio_coll_rank0_bcast_set; /* Whether instrumented "collective chunk multi ratio ind" value is set */
#endif /* H5_HAVE_INSTRUMENTED_LIBRARY */
#endif /* H5_HAVE_PARALLEL */
uint32_t no_selection_io_cause; /* Reason for not performing selection I/O
(H5D_XFER_NO_SELECTION_IO_CAUSE_NAME) */
bool no_selection_io_cause_set; /* Whether reason for not performing selection I/O is set */
bool mpio_coll_rank0_bcast; /* Instrumented "collective rank 0 broadcast" value
(H5D_XFER_COLL_RANK0_BCAST_NAME) */
bool mpio_coll_rank0_bcast_set; /* Whether instrumented "collective rank 0 broadcast" value is set */
#endif /* H5_HAVE_INSTRUMENTED_LIBRARY */
#endif /* H5_HAVE_PARALLEL */
uint32_t no_selection_io_cause; /* Reason for not performing selection I/O
(H5D_XFER_NO_SELECTION_IO_CAUSE_NAME) */
bool no_selection_io_cause_set; /* Whether reason for not performing selection I/O is set */
bool no_selection_io_cause_valid; /* Whether reason for not performing selection I/O is valid */

uint32_t
actual_selection_io_mode; /* Actual selection I/O mode used (H5D_ACTUAL_SELECTION_IO_MODE_NAME) */
uint32_t actual_selection_io_mode; /* Actual selection I/O mode used
(H5D_XFER_ACTUAL_SELECTION_IO_MODE_NAME) */
bool actual_selection_io_mode_set; /* Whether actual selection I/O mode is set */
bool actual_selection_io_mode_valid; /* Whether actual selection I/O mode is valid */

Expand Down
2 changes: 1 addition & 1 deletion src/H5Ppublic.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ typedef herr_t (*H5P_cls_copy_func_t)(hid_t new_prop_id, hid_t old_prop_id, void
/**
* \brief Callback function for H5Pcreate_class()
*
* \param[in] prop_id The identifier of the property list class being created
* \param[in] prop_id The identifier of the property list class being closed
* \param[in] close_data User pointer to any close data required
* \return \herr_t
*
Expand Down
8 changes: 4 additions & 4 deletions test/tgenprop.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,9 @@ test_genprop_cls_cpy_cb1(hid_t new_list_id, hid_t H5_ATTR_UNUSED old_list_id, vo
}

static herr_t
test_genprop_cls_cls_cb1(hid_t list_id, void *create_data)
test_genprop_cls_cls_cb1(hid_t list_id, void *close_data)
{
count_data_t *cdata = (count_data_t *)create_data;
count_data_t *cdata = (count_data_t *)close_data;

cdata->count++;
cdata->id = list_id;
Expand Down Expand Up @@ -1006,9 +1006,9 @@ static prop_cb_info prop3_cb_info; /* Callback statistics for property #3 */
**
****************************************************************/
static herr_t
test_genprop_cls_cpy_cb2(hid_t new_list_id, hid_t H5_ATTR_UNUSED old_list_id, void *create_data)
test_genprop_cls_cpy_cb2(hid_t new_list_id, hid_t H5_ATTR_UNUSED old_list_id, void *copy_data)
{
count_data_t *cdata = (count_data_t *)create_data;
count_data_t *cdata = (count_data_t *)copy_data;

cdata->count++;
cdata->id = new_list_id;
Expand Down

0 comments on commit c1b3255

Please sign in to comment.