Add a new convenience macro for an exception handler that handles all exceptions.
commit8608e895ebb3241ada19b4745aa61f2a14928416
authorRob Shearman <rob@codeweavers.com>
Fri, 15 Feb 2008 15:43:24 +0000 (15 15:43 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 16 Feb 2008 13:58:24 +0000 (16 14:58 +0100)
tree529a399a51e71a27d0854be9a3fa764e4bd48a3b
parent386427e73901f2d520c583ff9fae3ad2642c1a22
Add a new convenience macro for an exception handler that handles all exceptions.

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
dlls/oleaut32/tmarshal.c
dlls/rpcrt4/ndr_stubless.c
dlls/rpcrt4/rpc_server.c
include/wine/exception.h