Next: , Previous: rangel_minmax, Up: Ranges


3.13 rangel_rep_maxval

replace matching range maximum values

Synopsis

     #include <suplib/range.h>
     
     
     
void rangel_rep_maxval( RangeLList *rl, long maxval, long repval );

Parameters

RangeLList *rl
the list to scan
long maxval
the maximum value to match
long repval
the replacement maximum value

Description

rangel_rep_maxval replaces the maximum value for those ranges whose maximum values match the passed one with another value.

Author

Diab Jerius