summaryrefslogtreecommitdiffstats
path: root/src/H5Ipublic.h
diff options
context:
space:
mode:
authormattjala <124107509+mattjala@users.noreply.github.com>2023-05-15 03:09:58 (GMT)
committerGitHub <noreply@github.com>2023-05-15 03:09:58 (GMT)
commit17750ea9c280784c90456ef81c0f13704483a5fa (patch)
tree4922d8edfd80edca7b17749c021a1b2c69adf92a /src/H5Ipublic.h
parent364145f144cb68a5635ad9f7dad0e4210e3d513a (diff)
downloadhdf5-17750ea9c280784c90456ef81c0f13704483a5fa.zip
hdf5-17750ea9c280784c90456ef81c0f13704483a5fa.tar.gz
hdf5-17750ea9c280784c90456ef81c0f13704483a5fa.tar.bz2
Warn about changing collections during iteration (#2950)
Resolves #92
Diffstat (limited to 'src/H5Ipublic.h')
-rw-r--r--src/H5Ipublic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Ipublic.h b/src/H5Ipublic.h
index 5f8fc28..6f25071 100644
--- a/src/H5Ipublic.h
+++ b/src/H5Ipublic.h
@@ -588,6 +588,9 @@ H5_DLL void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key);
* to continue, as long as there are other identifiers remaining in
* type.
*
+ * \warning Adding or removing members of the identifier type during iteration
+ * will lead to undefined behavior.
+ *
* \since 1.12.0
*
*/