summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-26 17:14:00 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-26 17:14:00 (GMT)
commit5ff842ebefb4adcebaaecd5b6809f32f614ed932 (patch)
tree02c8350835b930561d22c85d37f3221d4536d372 /test
parentdb9525c2a3ee70379032bae71f26866451df7e58 (diff)
downloadhdf5-5ff842ebefb4adcebaaecd5b6809f32f614ed932.zip
hdf5-5ff842ebefb4adcebaaecd5b6809f32f614ed932.tar.gz
hdf5-5ff842ebefb4adcebaaecd5b6809f32f614ed932.tar.bz2
[svn-r790] Updated parameters for H5R API and changed constants from pointers to references
Diffstat (limited to 'test')
-rw-r--r--test/trefer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/trefer.c b/test/trefer.c
index 0ffa001..5438729 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -105,7 +105,7 @@ test_reference_obj(void)
CHECK(ret, FAIL, "H5Dclose");
/* Create a dataset */
- dataset=H5Dcreate(fid1,"Dataset3",H5T_STD_PTR_OBJ,sid1,H5P_DEFAULT);
+ dataset=H5Dcreate(fid1,"Dataset3",H5T_STD_REF_OBJ,sid1,H5P_DEFAULT);
CHECK(ret, FAIL, "H5Dcreate");
/* Create references */
@@ -119,7 +119,7 @@ test_reference_obj(void)
CHECK(ret, FAIL, "H5Rcreate");
/* Write selection to disk */
- ret=H5Dwrite(dataset,H5T_STD_PTR_OBJ,H5S_ALL,H5S_ALL,H5P_DEFAULT,wbuf);
+ ret=H5Dwrite(dataset,H5T_STD_REF_OBJ,H5S_ALL,H5S_ALL,H5P_DEFAULT,wbuf);
CHECK(ret, FAIL, "H5Dwrite");
/* Close disk dataspace */
@@ -143,7 +143,7 @@ test_reference_obj(void)
CHECK(ret, FAIL, "H5Dcreate");
/* Read selection from disk */
- ret=H5Dread(dataset,H5T_STD_PTR_OBJ,H5S_ALL,H5S_ALL,H5P_DEFAULT,rbuf);
+ ret=H5Dread(dataset,H5T_STD_REF_OBJ,H5S_ALL,H5S_ALL,H5P_DEFAULT,rbuf);
CHECK(ret, FAIL, "H5Dread");
/* Try to open objects */