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

Function __SetSizeExact

include/cpp/VirtualArray.h:381–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 void __SetSize(int inLen) { resize(inLen); }
380
381 VirtualArray __SetSizeExact(int inLen=0)
382 {
383 if (!base && inLen)
384 CreateEmptyArray(inLen);
385 else if (base)
386 base->__SetSizeExact(inLen);
387 return this;
388 }
389
390 void safeSort(ArrayBase::DynamicSorterFunc sorter, bool isString) { checkBase(); if (store!=hx::arrayEmpty) base->safeSort(sorter,isString); }
391

Callers 2

____SetSizeExactFunction · 0.85
__SetSizeExactMethod · 0.85

Calls 1

__SetSizeExactMethod · 0.45

Tested by

no test coverage detected