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