Next: rangel_rep_minval, Previous: rangel_minmax, Up: Ranges
replace matching range maximum values
#include <suplib/range.h>void rangel_rep_maxval( RangeLList *rl, long maxval, long repval );
RangeLList *rl
- the list to scan
long maxval
- the maximum value to match
long repval
- the replacement maximum value
rangel_rep_maxval
replaces the maximum value for those
ranges whose maximum values match the passed one with another
value.
Diab Jerius