landed massive refactoring of the JIT. contexts are actually contexts now, and a higher level structure wraps sp_plugin_t info. on that note, both sp_plugin_t and sp_context_t are entirely opaque, and not even core has access to them. amazingly, i managed to keep binary compatibility here although a large number of functions are deprecated (and core should eventually stop calling them).
NOTE: the JIT is now embeddable out-of-box and usable by other projects which is pretty cool. I will commit a shell app demonstrating this soon --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402400
This commit is contained in:
+2
-2
@@ -203,9 +203,9 @@ namespace SourceMod
|
||||
virtual SourcePawn::ISourcePawnEngine *GetScriptingEngine() =0;
|
||||
|
||||
/**
|
||||
* @brief Returns the JIT interface.
|
||||
* @brief Deprecated, do not use.
|
||||
*
|
||||
* @return A pointer to the JIT interface.
|
||||
* @return NULL.
|
||||
*/
|
||||
virtual SourcePawn::IVirtualMachine *GetScriptingVM() =0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user