(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
#undef abs
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The largest value that can be entered in a variable
|
||||
* @param type the type of the variable
|
||||
*/
|
||||
#define MAX_UVALUE(type) ((type)~(type)0)
|
||||
|
||||
/**
|
||||
* Returns the maximum of two values.
|
||||
*
|
||||
|
Reference in New Issue
Block a user