| 290 | } |
| 291 | |
| 292 | void LineCallback(asIScriptContext *ctx, DWORD *timeOut) |
| 293 | { |
| 294 | // If the time out is reached we abort the script |
| 295 | if( *timeOut < timeGetTime() ) |
| 296 | ctx->Abort(); |
| 297 | |
| 298 | // It would also be possible to only suspend the script, |
| 299 | // instead of aborting it. That would allow the application |
| 300 | // to resume the execution where it left of at a later |
| 301 | // time, by simply calling Execute() again. |
| 302 | } |
| 303 | |
| 304 | // Function implementation with native calling convention |
| 305 | void PrintString(string &str) |
nothing calls this directly
no test coverage detected