mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
Fix H5Dchunk_iter doxygen example (#2520)
This commit is contained in:
parent
7fbd15fff4
commit
28984e7244
@ -7,10 +7,10 @@
|
||||
|
||||
//! <!-- [H5Dchunk_iter_cb] -->
|
||||
int
|
||||
chunk_cb(const hsize_t *offset, uint32_t filter_mask, haddr_t addr, uint32_t nbytes, void *op_data)
|
||||
chunk_cb(const hsize_t *offset, unsigned filter_mask, haddr_t addr, hsize_t size, void *op_data)
|
||||
{
|
||||
// only print the allocated chunk size only
|
||||
printf("%d\n", nbytes);
|
||||
printf("%ld\n", size);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
//! <!-- [H5Dchunk_iter_cb] -->
|
||||
@ -67,7 +67,7 @@ H5Ovisit_cb(hid_t obj, const char *name, const H5O_info2_t *info, void *op_data)
|
||||
retval = -1;
|
||||
goto fail_fig;
|
||||
}
|
||||
|
||||
fail_fig:
|
||||
fail_shape:
|
||||
H5Sclose(dspace);
|
||||
fail_dspace:
|
||||
|
Loading…
Reference in New Issue
Block a user