summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2009-07-16 15:13:07 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2009-07-16 15:13:07 (GMT)
commit50eaa639b66b39e21bd795bc9de7af4e96c1ef85 (patch)
treef85a9decf70eb13c72fce3c3752baf69530f630f /hl
parente289ae318fd269b2fc0bc2a0ea24bc86498d84ac (diff)
downloadhdf5-50eaa639b66b39e21bd795bc9de7af4e96c1ef85.zip
hdf5-50eaa639b66b39e21bd795bc9de7af4e96c1ef85.tar.gz
hdf5-50eaa639b66b39e21bd795bc9de7af4e96c1ef85.tar.bz2
[svn-r17191] Updated regref_to_all to reflect new addition in RFC of the type of data to make region references for.
tested smirom (icc)
Diffstat (limited to 'hl')
-rw-r--r--hl/examples/ex_regref_to_all.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/hl/examples/ex_regref_to_all.c b/hl/examples/ex_regref_to_all.c
index 1d65c0d..9e37ee2 100644
--- a/hl/examples/ex_regref_to_all.c
+++ b/hl/examples/ex_regref_to_all.c
@@ -111,21 +111,8 @@ int main(void)
*/
status = H5LRcreate_regref_to_all(file_id, "/",
- "/NEW_DATA", H5_INDEX_NAME, H5_ITER_INC);
-
- /*
- * Read the newly created data set and print it.
- */
-
- status = H5LTread_dataset(file_id,"/NEW_DATA",H5T_NATIVE_INT,rdata);
-
- printf(" DATA FROM RECURSIVELY ALL THE REGION REFERENCES STARTING AT TOP LEVEL / :\n");
- printf("[ ");
- for (i=0; i<18; i++) {
- printf("%02d ", rdata[i]);
- }
- printf("] \n");
-
+ "/NEW_DATA", H5_INDEX_NAME, H5_ITER_INC, H5R_DATASET_REGION);
+
return 0;
}