summaryrefslogtreecommitdiffstats
path: root/src/H5Rdeprec.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-11-22 05:12:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-11-22 05:12:24 (GMT)
commit3055e499d527d9847c7f71f6a1596e69101183b3 (patch)
treeb04ea155e05e90729d7fee347758f1b0e0d868f1 /src/H5Rdeprec.c
parent8939a2190f50ab42c6b59c0d2df33ac66bb625e7 (diff)
downloadhdf5-3055e499d527d9847c7f71f6a1596e69101183b3.zip
hdf5-3055e499d527d9847c7f71f6a1596e69101183b3.tar.gz
hdf5-3055e499d527d9847c7f71f6a1596e69101183b3.tar.bz2
Switch loc_params to VOL callbacks to pass struct by pointer instead of by
value.
Diffstat (limited to 'src/H5Rdeprec.c')
-rw-r--r--src/H5Rdeprec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Rdeprec.c b/src/H5Rdeprec.c
index ba71a4b..827506e 100644
--- a/src/H5Rdeprec.c
+++ b/src/H5Rdeprec.c
@@ -126,7 +126,7 @@ H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5G_UNKNOWN, "invalid file identifier")
/* Get the object information */
- if(H5VL_object_get(vol_obj, loc_params, H5VL_REF_GET_TYPE, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &obj_type, ref_type, ref) < 0)
+ if(H5VL_object_get(vol_obj, &loc_params, H5VL_REF_GET_TYPE, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &obj_type, ref_type, ref) < 0)
HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, H5G_UNKNOWN, "unable to determine object type")
/* Set return value */
@@ -182,7 +182,7 @@ H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *_ref)
loc_params.obj_type = H5I_get_type(obj_id);
/* Dereference */
- if(NULL == (opened_obj = H5VL_object_open(vol_obj, loc_params, &opened_type, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL)))
+ if(NULL == (opened_obj = H5VL_object_open(vol_obj, &loc_params, &opened_type, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL)))
HGOTO_ERROR(H5E_REFERENCE, H5E_CANTOPENOBJ, H5I_INVALID_HID, "unable to dereference object")
/* Get an atom for the object */