source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/corecrt_startup.h@ 1186

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

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

File size: 1.0 KB
Line 
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
7#ifndef _INC_CORECRT_STARTUP
8#define _INC_CORECRT_STARTUP
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14_CRTIMP char **__cdecl __p__acmdln(void);
15#define _acmdln (*__p__acmdln())
16
17_CRTIMP wchar_t **__cdecl __p__wcmdln(void);
18#define _wcmdln (*__p__wcmdln())
19
20typedef void (__cdecl *_PVFV)(void);
21typedef int (__cdecl *_PIFV)(void);
22typedef void (__cdecl *_PVFI)(int);
23
24typedef struct _onexit_table_t {
25 _PVFV* _first;
26 _PVFV* _last;
27 _PVFV* _end;
28} _onexit_table_t;
29
30typedef int (__cdecl *_onexit_t)(void);
31
32_CRTIMP int __cdecl _initialize_onexit_table(_onexit_table_t*);
33_CRTIMP int __cdecl _register_onexit_function(_onexit_table_t*,_onexit_t);
34_CRTIMP int __cdecl _execute_onexit_table(_onexit_table_t*);
35_CRTIMP int __cdecl _crt_atexit(_PVFV func);
36_CRTIMP int __cdecl _crt_at_quick_exit(_PVFV func);
37
38#ifdef __cplusplus
39}
40#endif
41#endif
Note: See TracBrowser for help on using the repository browser.