| 745 | } |
| 746 | |
| 747 | void Squirrel::InsertResult(bool result) |
| 748 | { |
| 749 | ScriptAllocatorScope alloc_scope(this); |
| 750 | |
| 751 | sq_pushbool(this->vm, result); |
| 752 | if (this->IsSuspended()) { // Called before resuming a suspended script? |
| 753 | vm->GetAt(vm->_stackbase + vm->_suspended_target) = vm->GetUp(-1); |
| 754 | vm->Pop(); |
| 755 | } |
| 756 | } |
| 757 | |
| 758 | void Squirrel::InsertResult(int result) |
| 759 | { |
no test coverage detected