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

Function __Visit

include/Array.h:649–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648 #ifdef HXCPP_VISIT_ALLOCS
649 void __Visit(hx::VisitContext *__inCtx) HXCPP_OVERRIDE
650 {
651 if (mAlloc>0) __inCtx->visitAlloc((void **)&mBase);
652 if (hx::ContainsPointers<ELEM_>())
653 {
654 ELEM_ *ptr = (ELEM_ *)mBase;
655 for(int i=0;i<length;i++)
656 {
657 HX_VISIT_MEMBER(ptr[i]);
658 }
659 }
660 }
661 #endif
662
663 inline Array<ELEM_> __SetSizeExact(int inLen);

Callers 1

__VisitMethod · 0.50

Calls 1

visitAllocMethod · 0.45

Tested by

no test coverage detected