Back to index

python3.2  3.2.2
Defines | Functions
dllentry.c File Reference
#include <signal.h>

Go to the source code of this file.

Defines

#define NULL   0
#define REF(s)   extern void s(); void *____ref_##s = &s;

Functions

 REF (Py_Main)
int _CRT_init (void)
void _CRT_term (void)
void __ctordtorInit (void)
void __ctordtorTerm (void)
unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)

Define Documentation

#define NULL   0

Definition at line 5 of file dllentry.c.

#define REF (   s)    extern void s(); void *____ref_##s = &s;

Definition at line 7 of file dllentry.c.


Function Documentation

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

unsigned long _DLL_InitTerm ( unsigned long  mod_handle,
unsigned long  flag 
)

Definition at line 19 of file dllentry.c.

{
    switch (flag)
    {
        case 0:
            if (_CRT_init())
                return 0;
            __ctordtorInit();

            /* Ignore fatal signals */
            signal(SIGSEGV, SIG_IGN);
            signal(SIGFPE, SIG_IGN);

            return 1;

        case 1:
            __ctordtorTerm();
            _CRT_term();
            return 1;

        default:
            return 0;
    }
}

Here is the call graph for this function:

REF ( Py_Main  )