MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / destroy

Method destroy

src/hx/gc/Immix.cpp:860–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858 }
859
860 void destroy()
861 {
862 #ifdef SHOW_MEM_EVENTS_VERBOSE
863 GCLOG(" release block %d : %p\n", mId, this );
864 #endif
865 (*gBlockInfo)[mId] = 0;
866 gBlockInfoEmptySlots++;
867 delete this;
868 }
869
870 bool isEmpty() const { return mUsedRows == 0; }
871 int getUsedRows() const { return mUsedRows; }

Callers 1

releaseEmptyGroupsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected