Skip to content

Commit

Permalink
Remove redundant and flawed documentation of H5D_chunk_iter_op_t from…
Browse files Browse the repository at this point in the history
… H5D.c (HDFGroup#2512)

Forward port of 9f252f1 from HDFGroup#2329
  • Loading branch information
mkitti authored and brtnfld committed May 17, 2023
1 parent 1122570 commit bb8f151
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/H5D.c
Original file line number Diff line number Diff line change
Expand Up @@ -2510,32 +2510,6 @@ H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned *filte
* H5D_chunk_iter_op_t cb IN: User callback function, called for every chunk.
* void *op_data IN/OUT: Optional user data passed on to user callback.
*
* Callback information:
* H5D_chunk_iter_op_t is defined as:
*
* typedef int (*H5D_chunk_iter_op_t)(
* const hsize_t *offset,
* unsigned filter_mask,
* haddr_t addr,
* hsize_t size,
* void *op_data);
*
* H5D_chunk_iter_op_t parameters:
* hsize_t *offset; IN/OUT: Logical position of the chunk’s first element in units of dataset
* elements
* unsigned filter_mask; IN: Bitmask indicating the filters used when the chunk was written haddr_t
* addr; IN: Chunk address in the file
* hsize_t; IN: Chunk size in bytes, 0 if the chunk does not exist
* void *op_data; IN/OUT: Pointer to any user-defined data associated with the operation.
*
* The return values from an operator are:
* Zero (H5_ITER_CONT) causes the iterator to continue, returning zero when all
* elements have been processed.
* Positive (H5_ITER_STOP) causes the iterator to immediately return that positive
* value, indicating short-circuit success.
* Negative (H5_ITER_ERROR) causes the iterator to immediately return that value,
* indicating failure.
*
* Return: Non-negative on success, negative on failure
*
* Programmer: Gaute Hope
Expand Down

0 comments on commit bb8f151

Please sign in to comment.