MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / calculateLength

Method calculateLength

Source/Structs/StructDef.cpp:257–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void StructDef::calculateLength()
258{
259 if (!m_fields.isEmpty())
260 m_length = static_cast<u32>(
261 fmax(m_fields.last()->getOffset() + m_fields.last()->getFieldSize(), m_length));
262}

Callers

nothing calls this directly

Calls 2

getOffsetMethod · 0.80
getFieldSizeMethod · 0.80

Tested by

no test coverage detected