Skip to content

Commit

Permalink
Correct comments about H5Z_FILTER_NONE (#3572)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF authored Sep 22, 2023
1 parent d920a45 commit e64c946
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion c++/src/H5DcreatProp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ DSetCreatPropList::setFilter(H5Z_filter_t filter_id, unsigned int flags, size_t
///\exception H5::PropListIException
///\par Description
/// Deletes a filter from the dataset creation property list;
/// deletes all filters if \a filter_id is \c H5Z_FILTER_NONE.
/// deletes all filters if \a filter_id is \c H5Z_FILTER_ALL.
//--------------------------------------------------------------------------
void
DSetCreatPropList::removeFilter(H5Z_filter_t filter_id) const
Expand Down
2 changes: 1 addition & 1 deletion java/src/hdf/hdf5lib/H5.java
Original file line number Diff line number Diff line change
Expand Up @@ -8607,7 +8607,7 @@ public synchronized static native boolean H5Pall_filters_avail(long dcpl_id)
* @ingroup JH5P
*
* H5Premove_filter deletes a filter from the dataset creation property list;
* deletes all filters if filter is H5Z_FILTER_NONE
* deletes all filters if filter is H5Z_FILTER_ALL
*
* @param obj_id
* IN: Property list identifier.
Expand Down
2 changes: 1 addition & 1 deletion src/H5Pocpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ H5P_filter_in_pline(H5P_genplist_t *plist, H5Z_filter_t id)
* Function: H5Premove_filter
*
* Purpose: Deletes a filter from the dataset creation property list;
* deletes all filters if FILTER is H5Z_FILTER_NONE
* deletes all filters if FILTER is H5Z_FILTER_ALL
*
* Return: Non-negative on success/Negative on failure
*
Expand Down
2 changes: 1 addition & 1 deletion src/H5Z.c
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ H5Z_all_filters_avail(const H5O_pline_t *pline)
* Function: H5Z_delete
*
* Purpose: Delete filter FILTER from pipeline PLINE;
* deletes all filters if FILTER is H5Z_FILTER_NONE
* deletes all filters if FILTER is H5Z_FILTER_ALL
*
* Return: Non-negative on success
* Negative on failure
Expand Down

0 comments on commit e64c946

Please sign in to comment.