nsnull version of wrapping macros. b=417563 sr=roc

This commit is contained in:
joshmoz@gmail.com 2008-02-19 18:23:52 -08:00
parent 816010cdc7
commit 72cbf0a1df

View File

@ -128,6 +128,12 @@ NS_OBJC_TRY(_e, )
} \
return nil;
#define NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSNULL @try {
#define NS_OBJC_END_TRY_ABORT_BLOCK_NSNULL } @catch(NSException *_exn) { \
nsObjCExceptionLogAbort(_exn); \
} \
return nsnull;
#define NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT @try {
#define NS_OBJC_END_TRY_ABORT_BLOCK_NSRESULT } @catch(NSException *_exn) { \
nsObjCExceptionLogAbort(_exn);\