Use FREE instead of free. Fix newlines.

This commit is contained in:
michal
2007-10-27 18:53:38 +01:00
parent a846d7d027
commit f93b9dc09a
12 changed files with 37 additions and 31 deletions

View File

@@ -32,6 +32,8 @@
#define CALLOC_STRUCT(T) (struct T *) calloc(1, sizeof(struct T))
#define FREE( PTR ) free( PTR )
#define CLAMP( X, MIN, MAX ) ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) )
#define MIN2( A, B ) ( (A)<(B) ? (A) : (B) )
#define MAX2( A, B ) ( (A)>(B) ? (A) : (B) )