diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2019-02-23 23:02:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2019-02-23 23:02:29 (GMT) |
commit | d6663b95ac7e9e378b24bd721ea4403ca98d4adf (patch) | |
tree | 1eee70b0795b04dba9bd751ce70406bd6edd1c22 /src/H5VL.c | |
parent | 7e792d7795ffa286bd29bfcdc3025f2cb74faf59 (diff) | |
download | hdf5-d6663b95ac7e9e378b24bd721ea4403ca98d4adf.zip hdf5-d6663b95ac7e9e378b24bd721ea4403ca98d4adf.tar.gz hdf5-d6663b95ac7e9e378b24bd721ea4403ca98d4adf.tar.bz2 |
Revise "management" VOL callbacks into 'info' and object 'wrap / retrieval'
classes.
Diffstat (limited to 'src/H5VL.c')
-rw-r--r-- | src/H5VL.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -156,9 +156,9 @@ H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id) HGOTO_ERROR(H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID, "VOL connector class name cannot be the NULL pointer") if (0 == HDstrlen(cls->name)) HGOTO_ERROR(H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID, "VOL connector class name cannot be the empty string") - if (cls->info_copy && !cls->info_free) + if (cls->info_cls.copy && !cls->info_cls.free) HGOTO_ERROR(H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID, "VOL connector must provide free callback for VOL info objects when a copy callback is provided") - if (cls->get_wrap_ctx && !cls->free_wrap_ctx) + if (cls->wrap_cls.get_wrap_ctx && !cls->wrap_cls.free_wrap_ctx) HGOTO_ERROR(H5E_VOL, H5E_CANTREGISTER, H5I_INVALID_HID, "VOL connector must provide free callback for object wrapping contexts when a get callback is provided") op_data.kind = H5VL_GET_CONNECTOR_BY_NAME; |