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

Method markClosure

src/hx/cppia/CppiaVars.cpp:446–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444
445
446void CppiaStackVar::markClosure(char *inBase, hx::MarkContext *__inCtx)
447{
448 switch(storeType)
449 {
450 case fsString:
451 HX_MARK_MEMBER(*(String *)(inBase + capturePos));
452 break;
453 case fsObject:
454 HX_MARK_MEMBER(*(hx::Object **)(inBase + capturePos));
455 break;
456 default: ;
457 }
458}
459
460void CppiaStackVar::visitClosure(char *inBase, hx::VisitContext *__inCtx)
461{

Callers 1

__MarkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected