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