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

Method __Mark

src/hx/cppia/CppiaFunction.cpp:909–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907#endif
908
909 void __Mark(hx::MarkContext *__inCtx) HXCPP_OVERRIDE
910 {
911 HX_MARK_MEMBER(*getThis());
912 char *base = ((char *)this) + sizeof(CppiaClosure);
913 for(int i=0;i<function->captureVars.size();i++)
914 function->captureVars[i]->markClosure(base,__inCtx);
915 }
916#ifdef HXCPP_VISIT_ALLOCS
917 void __Visit(hx::VisitContext *__inCtx) HXCPP_OVERRIDE
918 {

Callers

nothing calls this directly

Calls 2

markClosureMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected