Skip to content

Commit

Permalink
Document why data transform ctx field doesnt use macro
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala committed Jun 18, 2024
1 parent 84c8818 commit 308af87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/H5CX.c
Original file line number Diff line number Diff line change
Expand Up @@ -2371,6 +2371,9 @@ H5CX_get_data_transform(H5Z_data_xform_t **data_transform)
assert(head && *head);
assert(H5P_DEFAULT != (*head)->ctx.dxpl_id);

/* This getter does not use H5CX_RETRIEVE_PROP_VALID in order to use H5P_peek instead of H5P_get.
This prevents invocation of the data transform property's library-defined copy callback */

/* Check if the value has been retrieved already */
if (!(*head)->ctx.data_transform_valid) {
/* Check for default DXPL */
Expand Down

0 comments on commit 308af87

Please sign in to comment.