mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
nsnull version of wrapping macros. b=417563 sr=roc
This commit is contained in:
parent
816010cdc7
commit
72cbf0a1df
@ -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);\
|
||||
|
Loading…
Reference in New Issue
Block a user