summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-09-02 21:16:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-09-02 21:16:24 (GMT)
commit97f56b57a0e5f60e424cdcb887d243787d3f866a (patch)
tree3716896dcc977cfcffca7742afd1ab13796999b7 /src/H5R.c
parent8fde009d734d3f20da992bdad8b50f7a1e99099e (diff)
downloadhdf5-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/H5R.c')
-rw-r--r--src/H5R.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 8960259..c017527 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -655,7 +655,7 @@ H5R_write(H5R_t *ra, hssize_t start_row, hsize_t nrows, H5T_t *type,
/* Get the meta data */
if (NULL==(mf_space=H5D_get_space(ra->meta)) ||
- H5S_extent_dims(mf_space, &meta_cur_size, NULL)<0) {
+ H5S_get_simple_extent_dims(mf_space, &meta_cur_size, NULL)<0) {
HGOTO_ERROR(H5E_RAGGED, H5E_CANTINIT, FAIL,
"unable to get current meta data extents");
}
@@ -685,7 +685,7 @@ H5R_write(H5R_t *ra, hssize_t start_row, hsize_t nrows, H5T_t *type,
/* Write the part of the data that will fit in the raw dataset */
if (NULL==(rf_space=H5D_get_space(ra->raw)) ||
- H5S_extent_dims(rf_space, raw_cur_size, NULL)<0) {
+ H5S_get_simple_extent_dims(rf_space, raw_cur_size, NULL)<0) {
HGOTO_ERROR(H5E_RAGGED, H5E_CANTINIT, FAIL,
"unable to determine current raw data extents");
}
@@ -823,7 +823,7 @@ H5R_fix_overflow(H5R_t *ra, H5T_t *type, H5R_meta_t *meta, hsize_t nelmts,
* region to the end of the file and be careful to reclaim space.
*/
if (NULL==(of_space=H5D_get_space(ra->over)) ||
- H5S_extent_dims(of_space, &cur_size, NULL)<0) {
+ H5S_get_simple_extent_dims(of_space, &cur_size, NULL)<0) {
HGOTO_ERROR(H5E_RAGGED, H5E_CANTINIT, FAIL,
"unable to get overflow dataset extents");
}
@@ -840,7 +840,7 @@ H5R_fix_overflow(H5R_t *ra, H5T_t *type, H5R_meta_t *meta, hsize_t nelmts,
/* No space is allocated */
assert(nelmts>0);
if (NULL==(of_space=H5D_get_space(ra->over)) ||
- H5S_extent_dims(of_space, &cur_size, NULL)<0) {
+ H5S_get_simple_extent_dims(of_space, &cur_size, NULL)<0) {
HGOTO_ERROR(H5E_RAGGED, H5E_CANTINIT, FAIL,
"unable to get overflow dataset extents");
}
@@ -1021,7 +1021,7 @@ H5R_read(H5R_t *ra, hssize_t start_row, hsize_t nrows, H5T_t *type,
/* Read from the raw dataset */
if (NULL==(rf_space=H5D_get_space(ra->raw)) ||
- H5S_extent_dims(rf_space, raw_cur_size, NULL)<0) {
+ H5S_get_simple_extent_dims(rf_space, raw_cur_size, NULL)<0) {
HGOTO_ERROR(H5E_RAGGED, H5E_CANTINIT, FAIL,
"unable to determine current raw data extents");
}
@@ -1059,7 +1059,7 @@ H5R_read(H5R_t *ra, hssize_t start_row, hsize_t nrows, H5T_t *type,
"memory allocation failed for meta data");
}
if (NULL==(mf_space=H5D_get_space(ra->meta)) ||
- H5S_extent_dims(mf_space, &meta_cur_size, NULL)<0) {
+ H5S_get_simple_extent_dims(mf_space, &meta_cur_size, NULL)<0) {
HGOTO_ERROR(H5E_RAGGED, H5E_CANTINIT, FAIL,
"unable to get current meta data extents");
}