summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-06-17 23:19:05 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-06-17 23:19:05 (GMT)
commit49f14964c373f1206339ab26c684ab4e8b175da6 (patch)
tree28b18981997c64933d8be5a25156f5a37a9f8b35 /src/H5Sselect.c
parent73331f73dd334f8a0a29eba9ac0025ff31251118 (diff)
downloadhdf5-49f14964c373f1206339ab26c684ab4e8b175da6.zip
hdf5-49f14964c373f1206339ab26c684ab4e8b175da6.tar.gz
hdf5-49f14964c373f1206339ab26c684ab4e8b175da6.tar.bz2
Add H5S_SEL_ITER_SHARE_WITH_DATASPACE selection iterator creation flag, to
share dataspace's selection with iterator (and with caution about not modifying or closing the dataspace while the iterator is open).
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r--src/H5Sselect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c
index 4d0038c..c40ff69 100644
--- a/src/H5Sselect.c
+++ b/src/H5Sselect.c
@@ -41,7 +41,8 @@
/****************/
/* All the valid public flags to H5Ssel_iter_create() */
-#define H5S_SEL_ITER_ALL_PUBLIC_FLAGS (H5S_SEL_ITER_GET_SEQ_LIST_SORTED)
+#define H5S_SEL_ITER_ALL_PUBLIC_FLAGS (H5S_SEL_ITER_GET_SEQ_LIST_SORTED | \
+ H5S_SEL_ITER_SHARE_WITH_DATASPACE)
/******************/