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

Function Update

engine/extension/src/extension.cpp:330–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328 }
329
330 Result Update(Params* params)
331 {
332 const ExtensionDesc* ed = dmExtension::GetFirstExtension();
333 while (ed) {
334 if (ed->m_Update && ed->m_Initialized)
335 {
336 DM_PROFILE_DYN(ed->m_Name, 0);
337 ExtensionResult r = ed->m_Update(params);
338 if (r != EXTENSION_RESULT_OK) {
339 dmLogError("Failed to update extension: %s", ed->m_Name);
340 }
341 }
342 ed = dmExtension::GetNextExtension(ed);
343 }
344 return RESULT_OK;
345 }
346
347 Result AppFinalize(AppParams* params)
348 {

Callers 1

TESTFunction · 0.50

Calls 2

GetNextExtensionFunction · 0.85
GetFirstExtensionFunction · 0.70

Tested by 1

TESTFunction · 0.40