diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-21 06:56:13 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-21 06:56:13 (GMT) |
commit | 8939a2190f50ab42c6b59c0d2df33ac66bb625e7 (patch) | |
tree | add67102c16433e043e348b6ffd34544101b2b42 /src/H5Z.c | |
parent | 23ff0240ae18d52ac8164c7a55d698e7b2cd5dcc (diff) | |
download | hdf5-8939a2190f50ab42c6b59c0d2df33ac66bb625e7.zip hdf5-8939a2190f50ab42c6b59c0d2df33ac66bb625e7.tar.gz hdf5-8939a2190f50ab42c6b59c0d2df33ac66bb625e7.tar.bz2 |
Add info_to_str and str_to_info "management" callbacks for serializing and
deserializing a connector's info object.
Diffstat (limited to 'src/H5Z.c')
-rw-r--r-- | src/H5Z.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -697,11 +697,11 @@ H5Z_filter_avail(H5Z_filter_t id) HGOTO_DONE(TRUE) key.id = (int)id; - if (NULL != (filter_info = (const H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, key))) { - if (H5Z_register(filter_info) < 0) + if(NULL != (filter_info = (const H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, &key))) { + if(H5Z_register(filter_info) < 0) HGOTO_ERROR(H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register loaded filter") HGOTO_DONE(TRUE) - } + } /* end if */ done: FUNC_LEAVE_NOAPI(ret_value) @@ -1289,7 +1289,7 @@ H5Z_pipeline(const H5O_pline_t *pline, unsigned flags, /* Try loading the filter */ key.id = (int)(pline->filter[idx].id); - if(NULL != (filter_info = (const H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, key))) { + if(NULL != (filter_info = (const H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, &key))) { /* Register the filter we loaded */ if(H5Z_register(filter_info) < 0) HGOTO_ERROR(H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register filter") |