Add an interpreter because. (bug 5902, r=ds).

This commit is contained in:
David Anderson
2013-09-01 00:23:44 -07:00
parent 2dae228f10
commit f9f4c7dcd6
15 changed files with 1091 additions and 124 deletions
+16 -1
View File
@@ -40,7 +40,7 @@
/** SourcePawn Engine API Version */
#define SOURCEPAWN_ENGINE_API_VERSION 4
#define SOURCEPAWN_ENGINE2_API_VERSION 5
#define SOURCEPAWN_ENGINE2_API_VERSION 6
#if !defined SOURCEMOD_BUILD
#define SOURCEMOD_BUILD
@@ -1295,6 +1295,21 @@ namespace SourcePawn
* @return True on success, false on failure.
*/
virtual bool InstallWatchdogTimer(size_t timeout_ms) =0;
/**
* @brief Sets whether the JIT is enabled or disabled.
*
* @param enabled True or false to enable or disable.
* @return True if successful, false otherwise.
*/
virtual bool SetJitEnabled(bool enabled) =0;
/**
* @brief Returns whether the JIT is enabled.
*
* @return True if the JIT is enabled, false otherwise.
*/
virtual bool IsJitEnabled() =0;
};
};