MCPcopy Create free account
hub / github.com/defold/defold / RemoveFromParentPendingCount

Function RemoveFromParentPendingCount

engine/resource/src/resource_preloader.cpp:315–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313 }
314
315 static void RemoveFromParentPendingCount(ResourcePreloader* preloader, PreloadRequest* req)
316 {
317 if (req->m_Parent != -1)
318 {
319 assert(preloader->m_Request[req->m_Parent].m_PendingChildCount > 0);
320 preloader->m_Request[req->m_Parent].m_PendingChildCount -= 1;
321 }
322 }
323
324 static Result PreloadPathDescriptor(HPreloader preloader, TRequestIndex parent, const PathDescriptor& path_descriptor)
325 {

Callers 4

PreloaderRemoveLeafFunction · 0.85
CreateResourceFunction · 0.85
FinishLoadFunction · 0.85
DoPreloaderUpdateOneReqFunction · 0.85

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected