diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-09-14 21:54:19 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-09-14 21:54:19 (GMT) |
commit | 1143f47e2d560a5283c24b42a64b9587f5613fab (patch) | |
tree | b09ca96ea8a803db310c12ebd4ee583c572fe2bf /src/H5Tprivate.h | |
parent | f7c075c736d3a4615cc78308111c235a91dbdc5d (diff) | |
download | hdf5-1143f47e2d560a5283c24b42a64b9587f5613fab.zip hdf5-1143f47e2d560a5283c24b42a64b9587f5613fab.tar.gz hdf5-1143f47e2d560a5283c24b42a64b9587f5613fab.tar.bz2 |
[svn-r11415] Purpose: Internal design change.
Description: H5T_register() replaces any existing data conversion path
with a new path.
Solution: Added a parameter to H5T_register() and H5T_path_find() to
signal the library whether the new conversion path is from API function
H5Tregister() or from private function like H5T_init_interface(). If it
is from H5Tregister(), replace existing path. If it's from H5T_init_interface()
and the library is trying to register default hard conversion functions,
don't replace existing path because the path is registered by the library.
For example, the library registered H5T_conv_int_float() and is trying to
register H5T_conv_long_float(). The size of long is equal to int. There's
no need to replace the path H5T_conv_int_float().
Platforms tested: h5committest and fuss.
Diffstat (limited to 'src/H5Tprivate.h')
-rw-r--r-- | src/H5Tprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h index 1b6cb05..c253136 100644 --- a/src/H5Tprivate.h +++ b/src/H5Tprivate.h @@ -82,7 +82,7 @@ H5_DLL htri_t H5T_is_immutable(const H5T_t *dt); H5_DLL htri_t H5T_is_named(const H5T_t *dt); H5_DLL htri_t H5T_is_relocatable(const H5T_t *dt); H5_DLL H5T_path_t *H5T_path_find(const H5T_t *src, const H5T_t *dst, - const char *name, H5T_conv_t func, hid_t dxpl_id); + const char *name, H5T_conv_t func, hid_t dxpl_id, hbool_t is_api); H5_DLL hbool_t H5T_path_noop(const H5T_path_t *p); H5_DLL H5T_bkg_t H5T_path_bkg(const H5T_path_t *p); H5_DLL herr_t H5T_convert(H5T_path_t *tpath, hid_t src_id, hid_t dst_id, |