2015-09-21 19:53:37 +00:00
|
|
|
#ifndef PYTHONINTERPRETER
|
|
|
|
#define PYTHONINTERPRETER
|
|
|
|
|
2019-09-07 15:51:30 +00:00
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
typedef VOID (*on_exit_session_t)(VOID);
|
|
|
|
|
|
|
|
#ifdef _PUPY_DYNLOAD
|
|
|
|
|
|
|
|
typedef struct _pupy_pyd_args {
|
|
|
|
PVOID *pvMemoryLibraries;
|
|
|
|
on_exit_session_t cbExit;
|
|
|
|
BOOL blInitialized;
|
|
|
|
} _pupy_pyd_args_t;
|
|
|
|
#else
|
|
|
|
void on_exit_session(void);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2019-11-21 12:05:18 +00:00
|
|
|
void initialize(BOOL isDll);
|
2019-09-07 15:51:30 +00:00
|
|
|
DWORD WINAPI execute(LPVOID lpArg);
|
|
|
|
void deinitialize();
|
|
|
|
|
|
|
|
void setup_jvm_class();
|
|
|
|
|
2015-09-21 19:53:37 +00:00
|
|
|
#endif
|