00001 00007 #import <Foundation/Foundation.h> 00008 00009 #ifndef __cplusplus 00010 00014 #define or || 00015 00019 #define and && 00020 00024 #define not ! 00025 00029 #define eq == 00030 00034 #define is == 00035 #endif 00036 00040 #define neq != 00041 00042 #ifndef nil 00043 #ifndef NULL 00044 00047 #define NULL (void *)0 00048 #endif 00049 00053 #define nil NULL 00054 #endif 00055 00059 #define GDRelease(x) do{ \ 00060 if((x)==nil){break;} \ 00061 [(x) release];(x)=nil;}while(0)