Implemented a lot more of the plugin system

added aggressive caching O(1) function object retrieval

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40181
This commit is contained in:
David Anderson
2006-11-11 05:49:52 +00:00
parent 438ccf39a0
commit c25cc64024
4 changed files with 196 additions and 1 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ namespace SourceMod
* @param result Pointer to store result of function on return.
* @return SourcePawn error code (if any).
*/
virtual int CallFunction(cell_t *params, unsigned int num_params, cell_t *result) =0;
virtual int CallFunction(const cell_t *params, unsigned int num_params, cell_t *result) =0;
/**
* @brief Returns which plugin this function belongs to.