diff options
author | Michal Krol <michal@tungstengraphics.com> | 2007-10-28 16:36:07 +0000 |
---|---|---|
committer | Michal Krol <michal@tungstengraphics.com> | 2007-10-28 17:34:36 +0000 |
commit | b85cd7b70096cf7c922aed56ae8255fb4b8f0709 (patch) | |
tree | 0960ed137535c74ddf8bee3a101f5b0696629605 /src/mesa/pipe/p_util.h | |
parent | 2953415223fc61e92305453d60714c7e919b604d (diff) |
Use FREE and MALLOC instead of free and malloc.
Diffstat (limited to 'src/mesa/pipe/p_util.h')
-rw-r--r-- | src/mesa/pipe/p_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_util.h b/src/mesa/pipe/p_util.h index 319bb790ae..4f68f5e1bd 100644 --- a/src/mesa/pipe/p_util.h +++ b/src/mesa/pipe/p_util.h @@ -32,6 +32,8 @@ #define CALLOC_STRUCT(T) (struct T *) calloc(1, sizeof(struct T)) +#define MALLOC( SIZE ) malloc( SIZE ) + #define FREE( PTR ) free( PTR ) #define CLAMP( X, MIN, MAX ) ( (X)<(MIN) ? (MIN) : ((X)>(MAX) ? (MAX) : (X)) ) |