mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-05-31 00:51:21 +00:00
- exported line_t's functions to the VM.
This commit is contained in:
parent
cb89a1a81a
commit
1c74faea73
4 changed files with 53 additions and 5 deletions
|
@ -209,6 +209,9 @@ public:
|
|||
void MaybePrintMessage();
|
||||
};
|
||||
|
||||
// This must be a separate function because the VC compiler would otherwise allocate memory on the stack for every separate instance of the exception object that may get thrown.
|
||||
void ThrowAbortException(EVMAbortException reason, const char *moreinfo, ...);
|
||||
|
||||
enum EVMOpMode
|
||||
{
|
||||
MODE_ASHIFT = 0,
|
||||
|
|
|
@ -44,9 +44,7 @@
|
|||
extern cycle_t VMCycles[10];
|
||||
extern int VMCalls[10];
|
||||
|
||||
// This must be a separate function because the VC compiler would otherwise allocate memory on the stack for every separate instance of the exception object that may get thrown.
|
||||
void ThrowAbortException(EVMAbortException reason, const char *moreinfo, ...);
|
||||
// intentionally implemented in a different source file tp prevent inlining.
|
||||
// intentionally implemented in a different source file to prevent inlining.
|
||||
void ThrowVMException(VMException *x);
|
||||
|
||||
#define IMPLEMENT_VMEXEC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue