summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSongyu Lu <songyulu@hdfgroup.org>2019-03-22 15:03:06 (GMT)
committerSongyu Lu <songyulu@hdfgroup.org>2019-03-22 15:03:06 (GMT)
commite09e2fc4ad7aadef1a99573ee6d3cec9bea3becb (patch)
tree351daf7b94384cb4b0dc54c2467058dc51e4d63b /src
parent9622aac313d38196b7f879f87bd0a3920e4af103 (diff)
downloadhdf5-e09e2fc4ad7aadef1a99573ee6d3cec9bea3becb.zip
hdf5-e09e2fc4ad7aadef1a99573ee6d3cec9bea3becb.tar.gz
hdf5-e09e2fc4ad7aadef1a99573ee6d3cec9bea3becb.tar.bz2
HDFFV-10658: I left out this file in my previous commit.
Diffstat (limited to 'src')
-rw-r--r--src/H5VLnative_dataset.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/H5VLnative_dataset.c b/src/H5VLnative_dataset.c
index ac25c55..aa65e54 100644
--- a/src/H5VLnative_dataset.c
+++ b/src/H5VLnative_dataset.c
@@ -18,7 +18,6 @@
#define H5D_FRIEND /* Suppress error about including H5Dpkg */
#include "H5private.h" /* Generic Functions */
-#include "H5CXprivate.h" /* API Contexts */
#include "H5Dpkg.h" /* Datasets */
#include "H5Eprivate.h" /* Error handling */
#include "H5Fprivate.h" /* Files */
@@ -62,10 +61,12 @@ H5VL__native_dataset_create(void *obj, const H5VL_loc_params_t *loc_params,
if(NULL == (plist = (H5P_genplist_t *)H5I_object(dcpl_id)))
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, NULL, "can't find object for ID")
- /* Get creation properties */
- H5CX_get_vl_prop_dset_type_id(&type_id);
- H5CX_get_vl_prop_dset_space_id(&space_id);
- H5CX_get_vl_prop_dset_lcpl_id(&lcpl_id);
+ if(H5P_get(plist, H5VL_PROP_DSET_TYPE_ID, &type_id) < 0)
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get property value for datatype id")
+ if(H5P_get(plist, H5VL_PROP_DSET_SPACE_ID, &space_id) < 0)
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get property value for space id")
+ if(H5P_get(plist, H5VL_PROP_DSET_LCPL_ID, &lcpl_id) < 0)
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get property value for lcpl id")
/* Check arguments */
if(H5G_loc_real(obj, loc_params->obj_type, &loc) < 0)