summaryrefslogtreecommitdiffstats
path: root/test/lheap.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-10-10 21:26:21 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-10-10 21:26:21 (GMT)
commit39b3b52a941dd5e012e5a472ef940d624941833b (patch)
treede3cb2001c62b76a89837ff1e90044574d71f19d /test/lheap.c
parent471150151d29eeb806333a8db41fefc9dfb452bb (diff)
parente962df1591bc6eaee5b9e318de83b9c6698bc7b6 (diff)
downloadhdf5-39b3b52a941dd5e012e5a472ef940d624941833b.zip
hdf5-39b3b52a941dd5e012e5a472ef940d624941833b.tar.gz
hdf5-39b3b52a941dd5e012e5a472ef940d624941833b.tar.bz2
Merge pull request #1291 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:vol_squash to develop
* commit 'e962df1591bc6eaee5b9e318de83b9c6698bc7b6': VOL FEATURE
Diffstat (limited to 'test/lheap.c')
-rw-r--r--test/lheap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lheap.c b/test/lheap.c
index d309fb0..e9e626f 100644
--- a/test/lheap.c
+++ b/test/lheap.c
@@ -23,6 +23,7 @@
#include "H5CXprivate.h" /* API Contexts */
#include "H5HLprivate.h"
#include "H5Iprivate.h"
+#include "H5VLprivate.h" /* Virtual Object Layer */
const char *FILENAME[] = {
"lheap",
@@ -78,7 +79,7 @@ main(void)
h5_fixname(FILENAME[0], fapl, filename, sizeof filename);
if(FAIL == (file=H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl)))
goto error;
- if(NULL == (f = (H5F_t *)H5I_object(file))) {
+ if(NULL == (f = (H5F_t *)H5VL_object(file))) {
H5_FAILED();
H5Eprint2(H5E_DEFAULT, stdout);
goto error;
@@ -128,7 +129,7 @@ main(void)
h5_fixname(FILENAME[0], fapl, filename, sizeof filename);
if(FAIL == (file = H5Fopen(filename, H5F_ACC_RDONLY, fapl)))
goto error;
- if(NULL == (f = (H5F_t *)H5I_object(file))) {
+ if(NULL == (f = (H5F_t *)H5VL_object(file))) {
H5_FAILED();
H5Eprint2(H5E_DEFAULT, stdout);
goto error;