summaryrefslogtreecommitdiffstats
path: root/test/ragged.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-06 21:37:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-06 21:37:57 (GMT)
commit2c4af336d30a42c3d12664ad0f08fbd96471c80f (patch)
tree560cd4eec035b47c1d2eb1c8236ef1cf189619c3 /test/ragged.c
parentdeeb5978c0377face944162fada47516e0ed063c (diff)
downloadhdf5-2c4af336d30a42c3d12664ad0f08fbd96471c80f.zip
hdf5-2c4af336d30a42c3d12664ad0f08fbd96471c80f.tar.gz
hdf5-2c4af336d30a42c3d12664ad0f08fbd96471c80f.tar.bz2
[svn-r739] Switched ragged array "H5R" API to "H5RA" to make room for the reference API.
Diffstat (limited to 'test/ragged.c')
-rw-r--r--test/ragged.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ragged.c b/test/ragged.c
index e4e8a8c..f89412d 100644
--- a/test/ragged.c
+++ b/test/ragged.c
@@ -235,7 +235,7 @@ ragged_write_all(hid_t ra, hsize_t rows_at_once)
buf[i] = dd;
interval_nelmts += size[i];
}
- if (H5Rwrite(ra, row, i, H_MTYPE, size, buf)<0) goto error;
+ if (H5RAwrite(ra, row, i, H_MTYPE, size, buf)<0) goto error;
if (0==row || alarm_g || 0==timeout_g) {
alarm_g = 0;
H5_timer_end(&timer_total, &timer);
@@ -333,7 +333,7 @@ ragged_read_all(hid_t ra, hsize_t rows_at_once)
/* Clear data then read */
HDmemset(size, 0, rows_at_once*sizeof(*size));
HDmemset(buf, 0, rows_at_once*sizeof(*buf));
- if (H5Rread(ra, row, rows_at_once, H_MTYPE, size,
+ if (H5RAread(ra, row, rows_at_once, H_MTYPE, size,
(void**)buf)<0) {
goto error;
}
@@ -470,7 +470,7 @@ ragged_read_short(hid_t ra, hsize_t rows_at_once, hsize_t width)
/* Read data */
for (i=0; i<rows_at_once; i++) size[i] = width;
- if (H5Rread(ra, row, rows_at_once, H_MTYPE, size,
+ if (H5RAread(ra, row, rows_at_once, H_MTYPE, size,
(void**)buf)<0) {
goto error;
}
@@ -612,7 +612,7 @@ main(int argc, char *argv[])
printf("Chunk size is %lu by %lu\n",
(unsigned long)(ch_size[0]), (unsigned long)(ch_size[1]));
if (H5Pset_chunk(dcpl, 2, ch_size)<0) goto error;
- if ((ra=H5Rcreate(file, "ra", H_FTYPE, dcpl))<0) goto error;
+ if ((ra=H5RAcreate(file, "ra", H_FTYPE, dcpl))<0) goto error;
if (H5Pclose(dcpl)<0) goto error;
/* The tests */
@@ -630,7 +630,7 @@ main(int argc, char *argv[])
rand_nelmts(1);
/* Cleanup */
- if (H5Rclose(ra)<0) goto error;
+ if (H5RAclose(ra)<0) goto error;
if (H5Fclose(file)<0) goto error;
puts("All ragged array tests passed.");