MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / Resize

Method Resize

Sources/Jazz2/Scripting/RegisterArray.cpp:614–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612 }
613
614 void CScriptArray::Resize(std::uint32_t numElements)
615 {
616 if (!CheckMaxSize(numElements)) {
617 return;
618 }
619 Resize((std::int32_t)numElements - (std::int32_t)buffer->numElements, (std::uint32_t)-1);
620 }
621
622 void CScriptArray::RemoveRange(std::uint32_t start, std::uint32_t count)
623 {

Callers

nothing calls this directly

Calls 2

ConstructFunction · 0.85
DestructFunction · 0.85

Tested by

no test coverage detected