diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2020-08-14 21:17:08 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2020-08-14 21:17:08 (GMT) |
commit | d7772d6c6998c362420ef62b01c2c37e52f142e6 (patch) | |
tree | a8b9eef96fa5d510fd11bda8c852d78e7910018f /src/H5Zprivate.h | |
parent | 99875ecff433930d4bb5d63024b9f190e91065d4 (diff) | |
download | hdf5-d7772d6c6998c362420ef62b01c2c37e52f142e6.zip hdf5-d7772d6c6998c362420ef62b01c2c37e52f142e6.tar.gz hdf5-d7772d6c6998c362420ef62b01c2c37e52f142e6.tar.bz2 |
Fixed HDFFV-10933
Description:
Fixed to allow the creation of a dataset when the combination of type,
space, etc doesn't work for filter and the filter is optional. Currently,
it was supposed to be skipped as indicated in the documentation, but it
was not skipped and the creation failed.
The function H5Z_ignore_filters was added and used in H5D__create.
Platforms tested:
Linux/64 (jelly)
Diffstat (limited to 'src/H5Zprivate.h')
-rw-r--r-- | src/H5Zprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Zprivate.h b/src/H5Zprivate.h index fbc6fc4..62d85f2 100644 --- a/src/H5Zprivate.h +++ b/src/H5Zprivate.h @@ -27,6 +27,9 @@ typedef struct H5Z_filter_info_t H5Z_filter_info_t; /* Private headers needed by this file */ #include "H5Tprivate.h" /* Datatypes */ +/* Forward declarations (for prototype) */ +struct H5S_t; + /**************************/ /* Library Private Macros */ /**************************/ @@ -89,6 +92,7 @@ H5_DLL herr_t H5Z_can_apply(hid_t dcpl_id, hid_t type_id); H5_DLL herr_t H5Z_set_local(hid_t dcpl_id, hid_t type_id); H5_DLL herr_t H5Z_can_apply_direct(const struct H5O_pline_t *pline); H5_DLL herr_t H5Z_set_local_direct(const struct H5O_pline_t *pline); +H5_DLL htri_t H5Z_ignore_filters(hid_t dcpl_id, const H5T_t *type, const struct H5S_t *space); H5_DLL H5Z_filter_info_t *H5Z_filter_info(const struct H5O_pline_t *pline, H5Z_filter_t filter); H5_DLL htri_t H5Z_filter_in_pline(const struct H5O_pline_t *pline, H5Z_filter_t filter); |