(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.

This commit is contained in:
rubidium
2007-12-21 19:21:21 +00:00
parent 60c82d0f8c
commit 8ebdfb258f
50 changed files with 76 additions and 98 deletions

View File

@@ -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.
*