Line | |
---|
1 | #ifndef __INITDLL_H__
|
---|
2 | #define __INITDLL_H__
|
---|
3 |
|
---|
4 | #if (defined(__IBMCPP__) || defined(__IBMC__))
|
---|
5 | #ifdef __cplusplus
|
---|
6 | extern "C" {
|
---|
7 | #endif
|
---|
8 |
|
---|
9 | void _Optlink __ctordtorInit( void );
|
---|
10 | #define ctordtorInit __ctordtorInit
|
---|
11 |
|
---|
12 | #if (__IBMCPP__ == 300) || (__IBMC__ == 300)
|
---|
13 | void _Optlink __ctordtorTerm( void );
|
---|
14 | #define ctordtorTerm __ctordtorTerm
|
---|
15 | #else
|
---|
16 | void CDECL _ctordtorTerm( int workaroundforstupidcompilerbug );
|
---|
17 | #define ctordtorTerm() _ctordtorTerm(1)
|
---|
18 | #endif
|
---|
19 |
|
---|
20 |
|
---|
21 | /*-------------------------------------------------------------------*/
|
---|
22 | /* _CRT_init is the C run-time environment initialization function. */
|
---|
23 | /* It will return 0 to indicate success and -1 to indicate failure. */
|
---|
24 | /*-------------------------------------------------------------------*/
|
---|
25 | int _Optlink _CRT_init(void);
|
---|
26 |
|
---|
27 | /*-------------------------------------------------------------------*/
|
---|
28 | /* _CRT_term is the C run-time environment termination function. */
|
---|
29 | /* It only needs to be called when the C run-time functions are */
|
---|
30 | /* statically linked. */
|
---|
31 | /*-------------------------------------------------------------------*/
|
---|
32 | void _Optlink _CRT_term(void);
|
---|
33 |
|
---|
34 |
|
---|
35 | #ifdef __cplusplus
|
---|
36 | }
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #endif
|
---|
40 |
|
---|
41 |
|
---|
42 | #endif //__INITDLL_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.