| 423 | //========================================================================== |
| 424 | |
| 425 | void FSerializer::EndArray() |
| 426 | { |
| 427 | if (isWriting()) |
| 428 | { |
| 429 | if (!w->inObject()) |
| 430 | { |
| 431 | w->EndArray(); |
| 432 | w->mInObject.Pop(); |
| 433 | } |
| 434 | else |
| 435 | { |
| 436 | assert(false && "EndArray call not inside an array"); |
| 437 | I_Error("EndArray call not inside an array"); |
| 438 | } |
| 439 | } |
| 440 | else |
| 441 | { |
| 442 | r->mObjects.Pop(); |
| 443 | } |
| 444 | } |
| 445 | |
| 446 | //========================================================================== |
| 447 | // |
no test coverage detected