#include <GScriptingPriv.h>
Inherits GScriptUtils.
Public Member Functions | |
bool | Execute (GCompiledCode *Code, GStream *Log=0) |
Executes the whole script starting at the top. | |
bool | ExecuteFunction (GCompiledCode *Code, GFunctionInfo *Func, ArgumentArray &Args, GVariant *Ret, GStream *Log=0) |
Execute just one method and return. |
bool GVirtualMachine::Execute | ( | GCompiledCode * | Code, | |
GStream * | Log = 0 | |||
) |
Executes the whole script starting at the top.
Code | [In] The code to execute |
Log | [Optional] Log file for execution |
bool GVirtualMachine::ExecuteFunction | ( | GCompiledCode * | Code, | |
GFunctionInfo * | Func, | |||
ArgumentArray & | Args, | |||
GVariant * | Ret, | |||
GStream * | Log = 0 | |||
) |
Execute just one method and return.
Code | [In] The code to execute |
Func | [In] The function to execute |
Args | [In] The function's arguments |
Ret | [Out] The return value of the function |
Log | [Optional] Log file for execution |