summaryrefslogtreecommitdiffstats
path: root/src/H5Dpublic.h
diff options
context:
space:
mode:
authormattjala <124107509+mattjala@users.noreply.github.com>2023-05-16 19:38:04 (GMT)
committerGitHub <noreply@github.com>2023-05-16 19:38:04 (GMT)
commit8af30f782015ad415c104216c66716f720296cbb (patch)
tree3e7c95ce971f478264b079b793727721e07cfb3b /src/H5Dpublic.h
parent196078958c0c48f63aa8202e9447f3c75c98c26a (diff)
downloadhdf5-8af30f782015ad415c104216c66716f720296cbb.zip
hdf5-8af30f782015ad415c104216c66716f720296cbb.tar.gz
hdf5-8af30f782015ad415c104216c66716f720296cbb.tar.bz2
Warn about changing collections during iteration (#2962)
Diffstat (limited to 'src/H5Dpublic.h')
-rw-r--r--src/H5Dpublic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Dpublic.h b/src/H5Dpublic.h
index 4315c7b..04795fa 100644
--- a/src/H5Dpublic.h
+++ b/src/H5Dpublic.h
@@ -1289,6 +1289,8 @@ H5_DLL herr_t H5Dread_chunk(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset,
* be restarted at the point of exit; a second H5Diterate()
* call will always restart at the beginning.
*
+ * \warning Modifying the selection of \p space_id during iteration
+ * will lead to undefined behavior.
*
* \since 1.10.2
*