summaryrefslogtreecommitdiffstats
path: root/src/H5Rint.c
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2019-11-26 01:07:44 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2019-12-09 20:55:03 (GMT)
commit5c97046501f35cc435144c5e111dadcb10e5c290 (patch)
treee7fd1a3084cd418669c8cf87d108e5bd036cdf39 /src/H5Rint.c
parent518f35d4341213cbfbd23e697fbdc9e9641fc03f (diff)
downloadhdf5-5c97046501f35cc435144c5e111dadcb10e5c290.zip
hdf5-5c97046501f35cc435144c5e111dadcb10e5c290.tar.gz
hdf5-5c97046501f35cc435144c5e111dadcb10e5c290.tar.bz2
Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILE
Remove H5F__get_file_id() and use only private routine instead
Diffstat (limited to 'src/H5Rint.c')
-rw-r--r--src/H5Rint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Rint.c b/src/H5Rint.c
index 504ae06..adf6e4e 100644
--- a/src/H5Rint.c
+++ b/src/H5Rint.c
@@ -1479,18 +1479,18 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5R__decode_token_compat(hid_t id, H5I_type_t type, H5R_type_t ref_type,
+H5R__decode_token_compat(H5VL_object_t *vol_obj, H5I_type_t type, H5R_type_t ref_type,
const unsigned char *buf, H5VL_token_t *obj_token)
{
hid_t file_id = H5I_INVALID_HID; /* File ID for region reference */
- void *vol_obj_file = NULL;
+ H5VL_object_t *vol_obj_file = NULL;
H5VL_file_cont_info_t cont_info = {H5VL_CONTAINER_INFO_VERSION, 0, 0, 0};
herr_t ret_value = SUCCEED;
FUNC_ENTER_PACKAGE
/* Get the file for the object */
- if((file_id = H5F_get_file_id(id, type, FALSE)) < 0)
+ if((file_id = H5F_get_file_id(vol_obj, type, FALSE)) < 0)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file or file object")
/* Retrieve VOL object */