Updates!
- Script functions can be called now without any pain
Nice! I've been thinking of implementing a helper add-on for doing this myself for sometime.
One thing you need to think about, is how this would work with shared asIScriptContext's. Ideally the application would only allocate one asIScriptContext for each script function that runs in parallel. If all script functions are executed in sequence then only one asIScriptContext should be used by all executions, otherwise you would be wasting resources if all function objects hold their own asIScriptContext, or have a performance impact if a new asIScriptContext is allocated for each execution.