changed the API - funcid_t is now index only rather than a code address

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40353
This commit is contained in:
David Anderson
2007-01-25 06:21:20 +00:00
parent f9a5920e5b
commit 2129bb6d92
7 changed files with 18 additions and 54 deletions
+2 -3
View File
@@ -461,12 +461,11 @@ namespace SourcePawn
/**
* @brief Executes a function ID located in this context.
*
* @param funcid Function id to execute.
* @param code_addr Address to execute at.
* @param result Pointer to store the return value (required).
* @return Error code (if any) from the VM.
*/
virtual int Execute(uint32_t funcid, cell_t *result) =0;
virtual int Execute(uint32_t code_addr, cell_t *result) =0;
/**
* @brief Throws a error and halts any current execution.