diff options
Diffstat (limited to 'test/gheap.c')
-rw-r--r-- | test/gheap.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/gheap.c b/test/gheap.c index 16bd0e5..7ed5b46 100644 --- a/test/gheap.c +++ b/test/gheap.c @@ -79,7 +79,7 @@ test_1 (hid_t fapl) size = i+1; memset (out, 'A'+i%26, size); H5Eclear (); - status = H5HG_insert (f, size, out, obj+i); + status = H5HG_insert (f, H5P_DATASET_XFER_DEFAULT, size, out, obj+i); if (status<0) { H5_FAILED(); puts(" Unable to insert object into global heap"); @@ -98,7 +98,7 @@ test_1 (hid_t fapl) size = i+1; memset (out, 'A'+i%26, size); H5Eclear (); - if (NULL==H5HG_read (f, obj+i, in)) { + if (NULL==H5HG_read (f, H5P_DATASET_XFER_DEFAULT, obj+i, in)) { H5_FAILED(); puts(" Unable to read object"); nerrors++; @@ -171,7 +171,7 @@ test_2 (hid_t fapl) size = 1024-i; memset (out, 'A'+i%26, size); H5Eclear (); - if (H5HG_insert (f, size, out, obj+i)<0) { + if (H5HG_insert (f, H5P_DATASET_XFER_DEFAULT, size, out, obj+i)<0) { H5_FAILED(); puts(" Unable to insert object into global heap"); nerrors++; @@ -185,7 +185,7 @@ test_2 (hid_t fapl) size = 1024-i; memset (out, 'A'+i%26, size); H5Eclear (); - if (NULL==H5HG_read (f, obj+i, in)) { + if (NULL==H5HG_read (f, H5P_DATASET_XFER_DEFAULT, obj+i, in)) { H5_FAILED(); puts(" Unable to read object"); nerrors++; @@ -256,7 +256,7 @@ test_3 (hid_t fapl) size = i%30+100; memset (out, 'A'+i%26, size); H5Eclear (); - status = H5HG_insert (f, size, out, obj+i); + status = H5HG_insert (f, H5P_DATASET_XFER_DEFAULT, size, out, obj+i); if (status<0) { H5_FAILED(); puts(" Unable to insert object into global heap"); @@ -266,7 +266,7 @@ test_3 (hid_t fapl) /* Remove everything */ for (i=0; i<1024; i++) { - status = H5HG_remove (f, obj+i); + status = H5HG_remove (f, H5P_DATASET_XFER_DEFAULT, obj+i); if (status<0) { H5_FAILED(); puts(" Unable to remove object"); @@ -335,7 +335,7 @@ test_4 (hid_t fapl) size = i%30+100; memset (out, 'A'+i%26, size); H5Eclear (); - status = H5HG_insert (f, size, out, obj+i); + status = H5HG_insert (f, H5P_DATASET_XFER_DEFAULT, size, out, obj+i); if (status<0) { H5_FAILED(); puts(" Unable to insert object into global heap"); @@ -349,7 +349,7 @@ test_4 (hid_t fapl) */ if (1==i%3) { H5Eclear (); - status = H5HG_remove (f, obj+i-1); + status = H5HG_remove (f, H5P_DATASET_XFER_DEFAULT, obj+i-1); if (status<0) { H5_FAILED(); puts(" Unable to remove object"); |