summaryrefslogtreecommitdiffstats
path: root/test/extend.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-02-25 19:13:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-02-25 19:13:49 (GMT)
commitc543632ba5cd609d2e6303fa9cf55685568fa851 (patch)
tree375e501aa060248c9e71fb6e5630ec64a47229ab /test/extend.c
parentfaa3f5739e0b52d84d119791b6859fe610b76d37 (diff)
downloadhdf5-c543632ba5cd609d2e6303fa9cf55685568fa851.zip
hdf5-c543632ba5cd609d2e6303fa9cf55685568fa851.tar.gz
hdf5-c543632ba5cd609d2e6303fa9cf55685568fa851.tar.bz2
[svn-r297] Switched templates to "property lists" and changed API prefix from H5C to H5P
Diffstat (limited to 'test/extend.c')
-rw-r--r--test/extend.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/extend.c b/test/extend.c
index a3562fa..2cadb1c 100644
--- a/test/extend.c
+++ b/test/extend.c
@@ -54,13 +54,13 @@ main (void)
assert (mem_space>=0);
/* Create the file */
- file = H5Fcreate ("extend.h5", H5F_ACC_TRUNC, H5C_DEFAULT, H5C_DEFAULT);
+ file = H5Fcreate ("extend.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
assert (file>=0);
/* Create the dataset which is originally NX by NY */
- cparms = H5Ccreate (H5C_DATASET_CREATE);
+ cparms = H5Pcreate (H5P_DATASET_CREATE);
assert (cparms>=0);
- status = H5Cset_chunk (cparms, 2, chunk_dims);
+ status = H5Pset_chunk (cparms, 2, chunk_dims);
assert (status>=0);
dataset = H5Dcreate (file, "dataset", H5T_NATIVE_INT, mem_space, cparms);
assert (dataset>=0);
@@ -85,7 +85,7 @@ main (void)
/* Write to the hyperslab */
status = H5Dwrite (dataset, H5T_NATIVE_INT, mem_space, file_space,
- H5C_DEFAULT, buf1);
+ H5P_DEFAULT, buf1);
assert (status>=0);
H5Sclose (file_space);
}
@@ -108,7 +108,7 @@ main (void)
/* Read */
status = H5Dread (dataset, H5T_NATIVE_INT, mem_space, file_space,
- H5C_DEFAULT, buf2);
+ H5P_DEFAULT, buf2);
assert (status>=0);
/* Compare */