2 This is the entry point for Python DLL(s).
3 It also provides an getenv() function that works from within DLLs.
8 /* Make references to imported symbols to pull them from static library */
9 #define REF(s) extern void s (); void *____ref_##s = &s;
15 extern int _CRT_init (void);
16 extern void _CRT_term (void);
17 extern void __ctordtorInit (void);
18 extern void __ctordtorTerm (void);
20 unsigned long _DLL_InitTerm (unsigned long mod_handle
, unsigned long flag
)
29 /* Ignore fatal signals */
30 signal (SIGSEGV
, SIG_IGN
);
31 signal (SIGFPE
, SIG_IGN
);