new jit api versioning scheme for amb398

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401153
This commit is contained in:
David Anderson
2007-07-23 19:12:54 +00:00
parent b4ba442d3c
commit 172b3e8ab8
5 changed files with 84 additions and 23 deletions
+10
View File
@@ -27,6 +27,9 @@
#include <stdio.h>
#include "sp_vm_types.h"
/** SourcePawn Engine API Version */
#define SOURCEPAWN_ENGINE_API_VERSION 1
/** SourcePawn VM API Version */
#define SOURCEPAWN_VM_API_VERSION 3
@@ -730,6 +733,13 @@ namespace SourcePawn
* @return Number of contexts in the call stack.
*/
virtual unsigned int GetContextCallCount() =0;
/**
* @brief Returns the engine API version.
*
* @return Engine API version.
*/
virtual unsigned int GetEngineAPIVersion() =0;
};