MCPcopy Create free account
hub / github.com/adriancable/eternal / ClearNodeVector

Method ClearNodeVector

doom/src/tarray.h:834–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832 }
833
834 void ClearNodeVector()
835 {
836 for (hash_t i = 0; i < Size; ++i)
837 {
838 if (!Nodes[i].IsNil())
839 {
840 Nodes[i].~Node();
841 }
842 }
843 M_Free(Nodes);
844 Nodes = NULL;
845 Size = 0;
846 LastFree = NULL;
847 NumUsed = 0;
848 }
849
850 void Resize(hash_t nhsize)
851 {

Callers

nothing calls this directly

Calls 1

IsNilMethod · 0.80

Tested by

no test coverage detected