2 * C++ exception handling facility
4 * Copyright 2000 Francois Gouget.
8 #define __WINE_USE_MSVCRT
10 #if !defined(__cplusplus) && !defined(__WINE__)
11 #error "eh.h is meant only for C++ applications"
14 #ifdef USE_MSVCRT_PREFIX
15 #define MSVCRT(x) MSVCRT_##x
21 typedef void (*terminate_handler)();
22 typedef void (*terminate_function)();
23 typedef void (*unexpected_handler)();
24 typedef void (*unexpected_function)();
27 terminate_function MSVCRT(set_terminate)(terminate_function func);
28 unexpected_function MSVCRT(set_unexpected)(unexpected_function func);
29 void MSVCRT(terminate)();
30 void MSVCRT(unexpected)();
32 #endif /* __WINE_EH_H */