vm: dllexport exception_handler for great justice
parent
9b44451682
commit
ff0e084f94
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue