MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / task_runLocal

Function task_runLocal

TheForceEngine/TFE_Jedi/Task/task.cpp:347–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 }
346
347 void task_runLocal(Task* task, MessageType msg)
348 {
349 if (task->localRunFunc)
350 {
351 Task* prevCur = s_curTask;
352 s_curTask = task;
353
354 task->localRunFunc(msg);
355
356 s_curTask = prevCur;
357 }
358 }
359
360 bool task_hasLocalMsgFunc(Task* task)
361 {

Callers 3

inf_sendLinkMessagesFunction · 0.85
inf_stopHandleMessagesFunction · 0.85
message_sendToObjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected