Add a new convenience macro for an exception handler that handles all exceptions.

Robert Shearman rob at codeweavers.com
Fri Feb 15 09:43:24 CST 2008


When using native compiler exceptions, the previous method of doing 
this, __EXCEPT(NULL), would expand to __except( 
(NULL)(GetExceptionInformation())) which doesn't compile as NULL isn't a 
function.

So add a new macro, __EXCEPT_ALL, which works correctly both when using 
native compiler exceptions and without and which makes the meaning of 
code in which it is used clearer.
---
  dlls/ntdll/loader.c        |    4 ++--
  dlls/oleaut32/tmarshal.c   |    2 +-
  dlls/rpcrt4/ndr_stubless.c |    2 +-
  dlls/rpcrt4/rpc_server.c   |    2 +-
  include/wine/exception.h   |    3 +++
  5 files changed, 8 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 039239637dfd7663e54dd16d55dd91021d8a60e6.diff
Type: text/x-patch
Size: 3116 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080215/24fa60b2/attachment.bin 


More information about the wine-patches mailing list