From c9d6b2beb19f80e43fec9aa61d80cc8a62233c33 Mon Sep 17 00:00:00 2001 From: ludwig Date: Sat, 18 Feb 2006 19:07:23 +0000 Subject: - change long to intptr_t for 64bit windows compatability - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/vm_local.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'code/qcommon/vm_local.h') diff --git a/code/qcommon/vm_local.h b/code/qcommon/vm_local.h index a3d5caa..24f996a 100644 --- a/code/qcommon/vm_local.h +++ b/code/qcommon/vm_local.h @@ -127,7 +127,7 @@ struct vm_s { // DO NOT MOVE OR CHANGE THESE WITHOUT CHANGING THE VM_OFFSET_* DEFINES // USED BY THE ASM CODE int programStack; // the vm may be recursively entered - long (*systemCall)( long *parms ); + intptr_t (*systemCall)( intptr_t *parms ); //------------------------------------ @@ -135,7 +135,8 @@ struct vm_s { // for dynamic linked modules void *dllHandle; - long (QDECL *entryPoint)( long callNum, ... ); + intptr_t (QDECL *entryPoint)( int callNum, ... ); + void (*destroy)(vm_t* self); // for interpreted modules qboolean currentlyInterpreting; -- cgit v1.2.3