ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtutil.h
(Generate patch)

Comparing rxvt-unicode/src/rxvtutil.h (file contents):
Revision 1.64 by root, Tue Jun 25 03:35:01 2019 UTC vs.
Revision 1.65 by sf-exg, Thu May 13 19:40:20 2021 UTC

8#include "ecb.h" 8#include "ecb.h"
9 9
10#include "estl.h" 10#include "estl.h"
11 11
12#include "emman.h" 12#include "emman.h"
13
14// increases code size unless -fno-enforce-eh-specs
15#if __GNUC__
16# define NOTHROW
17# define THROW(x)
18#else
19# define NOTHROW throw()
20# define THROW(x) throw x
21#endif
22 13
23// various utility functions 14// various utility functions
24template<typename T, typename U> static inline void min_it (T &a, U b) { a = a < (T)b ? a : (T)b; } 15template<typename T, typename U> static inline void min_it (T &a, U b) { a = a < (T)b ? a : (T)b; }
25template<typename T, typename U> static inline void max_it (T &a, U b) { a = a > (T)b ? a : (T)b; } 16template<typename T, typename U> static inline void max_it (T &a, U b) { a = a > (T)b ? a : (T)b; }
26 17

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines