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

Method splice

src/Array.cpp:1294–1304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1292}
1293
1294VirtualArray VirtualArray_obj::splice(int inPos, int len)
1295{
1296 if ( !base )
1297 return new VirtualArray_obj();
1298
1299 Dynamic cut = base->__splice(inPos, len);
1300
1301 VirtualArray result = new VirtualArray_obj( dynamic_cast<cpp::ArrayBase_obj *>(cut.mPtr), false);
1302 result->store = store;
1303 return result;
1304}
1305
1306VirtualArray VirtualArray_obj::map(ArrayBase::DynamicMappingFunc inFunc)
1307{

Callers 4

SLJIT_CALL arraySpliceFunction · 0.45
runObjectMethod · 0.45
runSpliceMethod · 0.45
SLJIT_CALL arraySpliceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected