MCPcopy Create free account
hub / github.com/ZDoom/Raze / EndArray

Method EndArray

source/common/engine/serializer.cpp:425–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423//==========================================================================
424
425void 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//

Callers 11

SerializeEventsFunction · 0.45
S_SerializeSoundsFunction · 0.45
GetGamesFunction · 0.45
serializer.cppFile · 0.45
StaticWriteRNGStateMethod · 0.45
StaticReadRNGStateMethod · 0.45
serializer.hFile · 0.45
WriteValueMethod · 0.45
ReadValueMethod · 0.45

Calls 3

I_ErrorFunction · 0.85
inObjectMethod · 0.80
PopMethod · 0.80

Tested by

no test coverage detected