vm: dllexport exception_handler for great justice

release
Slava Pestov 2010-04-05 15:48:09 -05:00
parent 9b44451682
commit ff0e084f94
3 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ LONG factor_vm::exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c,
return ExceptionContinueExecution; return ExceptionContinueExecution;
} }
extern "C" LONG exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c, void *dispatch) VM_C_API LONG exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c, void *dispatch)
{ {
return current_vm()->exception_handler(e,frame,c,dispatch); return current_vm()->exception_handler(e,frame,c,dispatch);
} }

View File

@ -22,7 +22,7 @@ typedef char symbol_char;
#define FACTOR_DLL NULL #define FACTOR_DLL NULL
extern "C" LONG exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c, void *dispatch); VM_C_API LONG exception_handler(PEXCEPTION_RECORD e, void *frame, PCONTEXT c, void *dispatch);
// SSE traps raise these exception codes, which are defined in internal NT headers // SSE traps raise these exception codes, which are defined in internal NT headers
// but not winbase.h // but not winbase.h

View File

@ -3,8 +3,8 @@
#include "os-windows-ce.hpp" #include "os-windows-ce.hpp"
#include "os-windows.hpp" #include "os-windows.hpp"
#elif defined(WINNT) #elif defined(WINNT)
#include "os-windows-nt.hpp"
#include "os-windows.hpp" #include "os-windows.hpp"
#include "os-windows-nt.hpp"
#if defined(FACTOR_AMD64) #if defined(FACTOR_AMD64)
#include "os-windows-nt.64.hpp" #include "os-windows-nt.64.hpp"