summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-06-20 18:11:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-06-20 18:11:57 (GMT)
commit1f35ebc88b1db785c4eb63f89c5e8a660280358d (patch)
treeb6160242ff2408f596212b958d073c00f4997613 /src/H5D.c
parentdc4c767d6dd0e69366f6046cfd5031b9c0196b56 (diff)
downloadhdf5-1f35ebc88b1db785c4eb63f89c5e8a660280358d.zip
hdf5-1f35ebc88b1db785c4eb63f89c5e8a660280358d.tar.gz
hdf5-1f35ebc88b1db785c4eb63f89c5e8a660280358d.tar.bz2
[svn-r10958] Purpose:
New feature Description: Add group creation & access property lists, dataset access property lists and named datatype creation & access property lists. Currently have <foo>_extend() API names, which will need to be changed for the final release. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 (heping)
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 440a9888..0f12a93 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -210,7 +210,7 @@ H5D_init_interface(void)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a property list class")
/* Get the number of properties in the class */
- if(H5P_get_nprops_pclass(xfer_pclass,&nprops)<0)
+ if(H5P_get_nprops_pclass(xfer_pclass,&nprops,FALSE)<0)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "can't query number of properties")
/* Assume that if there are properties in the class, they are the default ones */
@@ -302,7 +302,7 @@ H5D_init_interface(void)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a property list class")
/* Get the number of properties in the class */
- if(H5P_get_nprops_pclass(crt_pclass,&nprops)<0)
+ if(H5P_get_nprops_pclass(crt_pclass,&nprops,FALSE)<0)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "can't query number of properties")
/* Assume that if there are properties in the class, they are the default ones */
@@ -2095,6 +2095,10 @@ done:
* Nat Furrer and James Laird
* June 7, 2004
* Added checked_filters flag
+ *
+ * Peter X. Cao
+ * May 09, 2005
+ * Add property to create intermediate groups
*
*-------------------------------------------------------------------------
*/
@@ -2373,7 +2377,7 @@ H5D_create(H5G_entry_t *loc, const char *name, hid_t type_id, const H5S_t *space
* "H5G_entry_t" object to the group this dataset is being initially
* created in.
*/
- if (H5G_insert(loc, name, &new_dset->ent, dxpl_id) < 0)
+ if (H5G_insert(loc, name, &new_dset->ent, dxpl_id, dc_plist) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to name dataset")
/* Add the dataset to the list of opened objects in the file */