Source/GGBUtils.h
changeset 27 b0affce7beb1
parent 10 6c78cc6bd7a6
     1.1 --- a/Source/GGBUtils.h	Thu Jul 03 17:44:30 2008 -0700
     1.2 +++ b/Source/GGBUtils.h	Tue Mar 10 22:36:23 2009 -0700
     1.3 @@ -20,6 +20,11 @@
     1.4  */
     1.5  
     1.6  
     1.7 +#ifndef Warn
     1.8 +#define Warn(MSG,...) NSLog(@"WARNING: " #MSG,__VA_ARGS__)
     1.9 +#endif
    1.10 +
    1.11 +
    1.12  /** Handy utility for assigning a new value to a retained instance variable. Use as:
    1.13          setObj(&_instanceVar, newValue);
    1.14      It releases the old value and retains the new one. */