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

Function remove

include/Array.h:741–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739 }
740
741 bool remove(ELEM_ inValue)
742 {
743 ELEM_ *e = (ELEM_ *)mBase;
744 for(int i=0;i<length;i++)
745 {
746 if (hx::arrayElemEq(e[i],inValue))
747 {
748 RemoveElement((int)i);
749 return true;
750 }
751 }
752 return false;
753 }
754
755 bool removeAt( int idx )
756 {

Callers 1

__removeFunction · 0.70

Calls 1

arrayElemEqFunction · 0.85

Tested by

no test coverage detected