Add an interpreter because. (bug 5902, r=ds).
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user