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

Method mark

src/hx/cppia/CppiaModule.cpp:134–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133
134void CppiaModule::mark(hx::MarkContext *__inCtx)
135{
136 DBGLOG(" --- MARK --- \n");
137 HX_MARK_MEMBER(strings);
138 for(int i=0;i<types.size();i++)
139 {
140 if (types[i]) /* May be partially constructed */
141 types[i]->mark(__inCtx);
142 }
143 for(int i=0;i<markable.size();i++)
144 {
145 markable[i]->mark(__inCtx);
146 }
147 for(int i=0;i<classes.size();i++)
148 if (classes[i])
149 {
150 classes[i]->mark(__inCtx);
151 }
152}
153
154#ifdef HXCPP_VISIT_ALLOCS
155void CppiaModule::visit(hx::VisitContext *__inCtx)

Callers 1

__MarkMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected