Created
January 26, 2010 17:12
-
-
Save Machx/287009 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef kAPP_DEBUG_MODE | |
# define CWAssert(cond,desc) NSAssert(cond,desc) | |
# define CWAssert1(cond,desc,a1) NSAssert1(cond,desc,a1) | |
# define CWAssert2(cond,desc,a1,a2) NSAssert2(cond,desc,a1,a2) | |
# define CWAssert3(cond,desc,a1,a2,a3) NSAssert3(cond,desc,a1,a2,a3) | |
# define CWAssert4(cond,desc,a1,a2,a3,a4) NSAssert4(cond,desc,a1,a2,a3,a4) | |
# define CWAssert5(cond,desc,a1,a2,a3,a4,a5) NSAssert5(cond,desc,a1,a2,a3,a4,a5) | |
#else | |
# define CWAssert(...) /**/ | |
# define CWAssert1(...) /**/ | |
# define CWAssert2(...) /**/ | |
# define CWAssert3(...) /**/ | |
# define CWAssert4(...) /**/ | |
# define CWAssert5(...) /**/ | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment