Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

RainDefines.h

Go to the documentation of this file.
00001 #ifndef __RAINDEFINES
00002 #define __RAINDEFINES
00003 
00004 
00005 #include "windows.h"
00006 #include "assert.h"
00007 
00008 
00009 #define SAFE_RELEASE(x){if(x){x->Release();x=NULL;}}
00010 
00011 #define SAFE_DELETE(x){if(x){delete(x);x=NULL;}}
00012 
00013 #define SAFE_ARRAY_DELETE(x){if(x){delete[] (x);x=NULL;}}
00014 
00015 
00016 
00017 
00018 #define DEFAULT_MESSAGEQ_SIZE 1000
00019 
00020 #endif

Generated on Thu May 23 17:51:00 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001