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

Method RemoveElement

src/Array.cpp:411–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411void ArrayBase::RemoveElement(int inPos)
412{
413 if (inPos<length)
414 {
415 int s = GetElementSize();
416 memmove(mBase + inPos*s, mBase+inPos*s + s, (length-inPos-1)*s );
417 resize(length-1);
418 }
419
420}
421
422void ArrayBase::Concat(ArrayBase *outResult,const char *inSecond,int inLen)
423{

Callers

nothing calls this directly

Calls 2

GetElementSizeFunction · 0.50
resizeFunction · 0.50

Tested by

no test coverage detected