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

Method runProcess

src/hx/cppia/ArrayVirtual.cpp:599–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597 #ifdef CPPIA_JIT
598
599 static hx::Object * SLJIT_CALL runProcess( ArrayAnyImpl *inArray, hx::Object *inFunction)
600 {
601 TRY_NATIVE
602 if (FUNC==afMap)
603 {
604 return inArray->map(Dynamic(inFunction)).mPtr;
605 }
606 else
607 {
608 return inArray->filter(Dynamic(inFunction)).mPtr;
609 }
610 CATCH_NATIVE
611 return 0;
612 }

Callers

nothing calls this directly

Calls 3

DynamicClass · 0.50
mapMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected