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

Method visitClosure

src/hx/cppia/CppiaVars.cpp:460–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460void CppiaStackVar::visitClosure(char *inBase, hx::VisitContext *__inCtx)
461{
462 switch(storeType)
463 {
464 case fsString:
465 HX_VISIT_MEMBER(*(String *)(inBase + capturePos));
466 break;
467 case fsObject:
468 HX_VISIT_MEMBER(*(hx::Object **)(inBase + capturePos));
469 break;
470 default: ;
471 }
472}
473
474void CppiaStackVar::link(CppiaModule &inModule, bool hasDefault)
475{

Callers 1

__VisitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected