| 105 | size_t GetAllocatedSize() const { return this->allocated_size; } |
| 106 | |
| 107 | void CheckLimit() const |
| 108 | { |
| 109 | if (this->allocated_size > this->allocation_limit) throw Script_FatalError("Maximum memory allocation exceeded"); |
| 110 | } |
| 111 | |
| 112 | void Reset() |
| 113 | { |
no test coverage detected