diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-02-04 20:35:37 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-02-04 20:35:37 (GMT) |
commit | c238a6c13cdd0107fdf2c5ee0145a9b3d773fc92 (patch) | |
tree | 8bffaa4395b7498e7ec79116f0fae4e258449929 /src | |
parent | 78fb916259dad96f1252a99a47c5b576be17a951 (diff) | |
download | hdf5-c238a6c13cdd0107fdf2c5ee0145a9b3d773fc92.zip hdf5-c238a6c13cdd0107fdf2c5ee0145a9b3d773fc92.tar.gz hdf5-c238a6c13cdd0107fdf2c5ee0145a9b3d773fc92.tar.bz2 |
[svn-r8150] Purpose:
introduced the constant H5Z_FILTER_ALL, used to remove all filters in H5Premove_filter
Description:
Solution:
Platforms tested:
linux
Misc. update:
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Z.c | 2 | ||||
-rw-r--r-- | src/H5Zpublic.h | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1117,7 +1117,7 @@ H5Z_delete(H5O_pline_t *pline, H5Z_filter_t filter) HGOTO_DONE(SUCCEED) /* Delete all filters */ - if (H5Z_FILTER_NONE==filter) { + if (H5Z_FILTER_ALL==filter) { if(H5O_reset(H5O_PLINE_ID, pline)<0) HGOTO_ERROR(H5E_PLINE, H5E_CANTFREE, FAIL, "can't release pipeline info") } /* end if */ diff --git a/src/H5Zpublic.h b/src/H5Zpublic.h index ac0a718..ee7ad3c 100644 --- a/src/H5Zpublic.h +++ b/src/H5Zpublic.h @@ -29,6 +29,7 @@ typedef int H5Z_filter_t; #define H5Z_FILTER_ERROR (-1) /*no filter */ #define H5Z_FILTER_NONE 0 /*reserved indefinitely */ +#define H5Z_FILTER_ALL 0 /*symbol to remove all filters in H5Premove_filter */ #define H5Z_FILTER_DEFLATE 1 /*deflation like gzip */ #define H5Z_FILTER_SHUFFLE 2 /*shuffle the data */ #define H5Z_FILTER_FLETCHER32 3 /*fletcher32 checksum of EDC */ |