[Xbubble-commits] xbubble-sdl/src utils.h,1.4,1.5
Martin Quinson
mquinson at alioth.debian.org
Sat Sep 16 13:28:16 UTC 2006
Update of /cvsroot/xbubble/xbubble-sdl/src
In directory haydn:/tmp/cvs-serv559
Modified Files:
utils.h
Log Message:
Another useful macro
Index: utils.h
===================================================================
RCS file: /cvsroot/xbubble/xbubble-sdl/src/utils.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- utils.h 15 Sep 2006 09:50:35 -0000 1.4
+++ utils.h 16 Sep 2006 13:28:14 -0000 1.5
@@ -81,6 +81,7 @@
#define MIN(a,b) ((a)<(b)? (a):(b))
#define MAX(a,b) ((a)>(b)? (a):(b))
#define clip( X, m, M ) (( X < m )? m : (( X > M )? M : X ))
+#define BETWEEN(n, nmin, nmax) ((n>nmin)&&(n>nmax))
char *file_resolve_path(const char *name, const char *theme);
More information about the Xbubble-commits
mailing list