source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/eh.h@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.4 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#include <crtdefs.h>
7
8#ifndef _EH_H_
9#define _EH_H_
10
11#ifndef RC_INVOKED
12
13#pragma pack(push,_CRT_PACKING)
14
15#ifndef __cplusplus
16#error eh.h is only for C++!
17#endif
18
19typedef void (__cdecl *terminate_function)();
20typedef void (__cdecl *terminate_handler)();
21typedef void (__cdecl *unexpected_function)();
22typedef void (__cdecl *unexpected_handler)();
23
24struct _EXCEPTION_POINTERS;
25typedef void (__cdecl *_se_translator_function)(unsigned int,struct _EXCEPTION_POINTERS *);
26
27_CRTIMP __MINGW_ATTRIB_NORETURN void __cdecl terminate(void);
28_CRTIMP void __cdecl unexpected(void);
29_CRTIMP int __cdecl _is_exception_typeof(const std::type_info &_Type,struct _EXCEPTION_POINTERS *_ExceptionPtr);
30_CRTIMP terminate_function __cdecl set_terminate(terminate_function _NewPtFunc);
31extern "C" _CRTIMP terminate_function __cdecl _get_terminate(void);
32_CRTIMP unexpected_function __cdecl set_unexpected(unexpected_function _NewPtFunc);
33extern "C" _CRTIMP unexpected_function __cdecl _get_unexpected(void);
34_CRTIMP _se_translator_function __cdecl _set_se_translator(_se_translator_function _NewPtFunc);
35_CRTIMP bool __cdecl __uncaught_exception();
36
37#pragma pack(pop)
38#endif
39#endif /* End _EH_H_ */
40
Note: See TracBrowser for help on using the repository browser.