exposed the sourcepawn and JIT interfaces with pointers
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40739
This commit is contained in:
@@ -168,6 +168,20 @@ namespace SourceMod
|
||||
* @return A string containing the name of the game directory.
|
||||
*/
|
||||
virtual const char *GetGameFolderName() const =0;
|
||||
|
||||
/**
|
||||
* @brief Returns the scripting engine interface.
|
||||
*
|
||||
* @return A pointer to the scripting engine interface.
|
||||
*/
|
||||
virtual SourcePawn::ISourcePawnEngine *GetScriptingEngine() =0;
|
||||
|
||||
/**
|
||||
* @brief Returns the JIT interface.
|
||||
*
|
||||
* @return A pointer to the JIT interface.
|
||||
*/
|
||||
virtual SourcePawn::IVirtualMachine *GetScriptingVM() =0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user