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

Method DestroyMeta

source/common/objects/dobjtype.cpp:504–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502//==========================================================================
503
504void PClass::DestroyMeta(void *addr)
505{
506 if (ParentClass != nullptr) ParentClass->DestroyMeta(addr);
507 for (auto tao : MetaInits)
508 {
509 tao.first->DestroyValue((uint8_t *)addr + tao.second);
510 }
511}
512
513//==========================================================================
514//

Callers 1

StaticShutdownMethod · 0.80

Calls 1

DestroyValueMethod · 0.45

Tested by

no test coverage detected