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.1 by root, Sun Aug 15 00:37:04 2004 UTC vs.
Revision 1.2 by root, Sun Aug 15 07:20:16 2004 UTC

10 static bool network () { return e == 0x11223344; }; 10 static bool network () { return e == 0x11223344; };
11 static bool little_endian () { return e == 0x44332211; }; 11 static bool little_endian () { return e == 0x44332211; };
12 static bool vax () { return e == 0x44332211; }; 12 static bool vax () { return e == 0x44332211; };
13} byteorder; 13} byteorder;
14 14
15template<typename T, typename U>
15template<typename T, typename U> static inline T min (T a, U b) { return a < b ? a : b; } 16static inline T min (T a, U b) { return a < b ? a : (T)b; }
17template<typename T, typename U>
16template<typename T, typename U> static inline T max (T a, U b) { return a > b ? a : b; } 18static inline T max (T a, U b) { return a > b ? a : (T)b; }
17 19
18#include "simplevec.h" 20#include "simplevec.h"
19 21
20template<typename T> 22template<typename T>
21struct vector : simplevec<T> 23struct vector : simplevec<T>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines