estl.h (rxvt-unicode-9.26.tar.bz2) | : | estl.h (rxvt-unicode-9.29.tar.bz2) | ||
---|---|---|---|---|
/* this file lives in libptytty/src/estl.h, only edit it there and copy it here */ | ||||
#ifndef ESTL_H_ | #ifndef ESTL_H_ | |||
#define ESTL_H_ | #define ESTL_H_ | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include "ecb.h" | #include "ecb.h" | |||
template<typename T, typename U> static inline T min (T a, U b) { return a < (T) b ? a : (T)b; } | template<typename T, typename U> static inline T min (T a, U b) { return a < (T) b ? a : (T)b; } | |||
template<typename T, typename U> static inline T max (T a, U b) { return a > (T) b ? a : (T)b; } | template<typename T, typename U> static inline T max (T a, U b) { return a > (T) b ? a : (T)b; } | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |