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

Function DeleteLuaProfilerScopeState

engine/profiler/src/profiler.cpp:126–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126static void DeleteLuaProfilerScopeState(LuaProfilerScopeState* delete_state)
127{
128 LuaProfilerScopeState** state_ptr = &g_LuaProfilerScopeStates;
129 while (*state_ptr != 0)
130 {
131 LuaProfilerScopeState* state = *state_ptr;
132 if (state == delete_state)
133 {
134 *state_ptr = state->m_Next;
135 delete state;
136 return;
137 }
138 state_ptr = &state->m_Next;
139 }
140}
141
142static void DeleteLuaProfilerScopeStates()
143{

Callers 2

ProfilerScopeEndFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected