diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-09-02 21:16:24 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-09-02 21:16:24 (GMT) |
commit | 97f56b57a0e5f60e424cdcb887d243787d3f866a (patch) | |
tree | 3716896dcc977cfcffca7742afd1ab13796999b7 /src/H5A.c | |
parent | 8fde009d734d3f20da992bdad8b50f7a1e99099e (diff) | |
download | hdf5-97f56b57a0e5f60e424cdcb887d243787d3f866a.zip hdf5-97f56b57a0e5f60e424cdcb887d243787d3f866a.tar.gz hdf5-97f56b57a0e5f60e424cdcb887d243787d3f866a.tar.bz2 |
[svn-r654] Fixed last bug (hah! ;-) for beta release, changed H5Gget_stat to H5Gget_objinfo
and renamed internal functions to match up with the renamed API functions.
Diffstat (limited to 'src/H5A.c')
-rw-r--r-- | src/H5A.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -251,7 +251,7 @@ H5A_create(const H5G_entry_t *ent, const char *name, const H5T_t *type, attr->dt_size=(H5O_DTYPE[0].raw_size)(attr->ent.file,type); attr->ds_size=(H5O_SDSPACE[0].raw_size)(attr->ent.file, &(space->extent.u.simple)); - attr->data_size=H5S_extent_npoints(space)*H5T_get_size(type); + attr->data_size=H5S_get_simple_extent_npoints(space)*H5T_get_size(type); /* Hold the symbol table entry (and file) open */ if (H5O_open(&(attr->ent)) < 0) { @@ -630,7 +630,7 @@ H5A_write(H5A_t *attr, const H5T_t *mem_type, void *buf) assert(buf); /* Create buffer for data to store on disk */ - nelmts=H5S_extent_npoints (attr->ds); + nelmts=H5S_get_simple_extent_npoints (attr->ds); /* Get the memory and file datatype sizes */ src_type_size = H5T_get_size(mem_type); @@ -800,7 +800,7 @@ H5A_read(H5A_t *attr, const H5T_t *mem_type, void *buf) assert(buf); /* Create buffer for data to store on disk */ - nelmts=H5S_extent_npoints (attr->ds); + nelmts=H5S_get_simple_extent_npoints (attr->ds); /* Get the memory and file datatype sizes */ src_type_size = H5T_get_size(attr->dt); |