summaryrefslogtreecommitdiffstats
path: root/examples/h5_group.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 /examples/h5_group.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 'examples/h5_group.c')
-rw-r--r--examples/h5_group.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/h5_group.c b/examples/h5_group.c
index 303ce99..9835bcf 100644
--- a/examples/h5_group.c
+++ b/examples/h5_group.c
@@ -23,7 +23,7 @@ main()
/*
* Create a file.
*/
-file = H5Fcreate(FILE, H5F_ACC_TRUNC, H5C_DEFAULT, H5C_DEFAULT);
+file = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
/*
* Create two groups in a file.
@@ -43,21 +43,21 @@ dataspace = H5Screate_simple(1, size, NULL);
/*
* Create dataset "String" in the root group.
*/
-dataset = H5Dcreate(file, "String", H5T_NATIVE_CHAR, dataspace, H5C_DEFAULT);
+dataset = H5Dcreate(file, "String", H5T_NATIVE_CHAR, dataspace, H5P_DEFAULT);
H5Dclose(dataset);
/*
* Create dataset "String" in the /IntData group.
*/
dataset = H5Dcreate(file, "/IntData/String", H5T_NATIVE_CHAR, dataspace,
- H5C_DEFAULT);
+ H5P_DEFAULT);
H5Dclose(dataset);
/*
* Create dataset "String" in the /FloatData group.
*/
dataset = H5Dcreate(file, "/FloatData/String", H5T_NATIVE_CHAR, dataspace,
- H5C_DEFAULT);
+ H5P_DEFAULT);
H5Sclose(dataspace);
H5Dclose(dataset);
@@ -68,7 +68,7 @@ dims[0] = 2;
dims[1] = 3;
dataspace = H5Screate_simple(RANK, dims, NULL);
dataset = H5Dcreate(file, "/IntData/IntArray", H5T_NATIVE_INT, dataspace,
- H5C_DEFAULT);
+ H5P_DEFAULT);
H5Sclose(dataspace);
H5Dclose(dataset);
@@ -93,7 +93,7 @@ status = H5Gset (file, "/FloatData");
dims[0] = 5;
dims[1] = 10;
dataspace = H5Screate_simple(RANK, dims, NULL);
-dataset = H5Dcreate(file, "FloatArray", H5T_NATIVE_FLOAT, dataspace, H5C_DEFAULT);
+dataset = H5Dcreate(file, "FloatArray", H5T_NATIVE_FLOAT, dataspace, H5P_DEFAULT);
H5Sclose(dataspace);
H5Dclose(dataset);
@@ -101,7 +101,7 @@ dims[0] = 4;
dims[1] = 6;
dataspace = H5Screate_simple(RANK, dims, NULL);
dataset = H5Dcreate(file, "DoubleArray", H5T_NATIVE_DOUBLE, dataspace,
- H5C_DEFAULT);
+ H5P_DEFAULT);
H5Sclose(dataspace);
H5Dclose(dataset);