refactor: change dispatcher_get_state to output parameter
This commit is contained in:
committed by
Loic Coenen (aider)
parent
e13dcb5e07
commit
4eed81ae06
@@ -208,7 +208,7 @@ void dispatcher_start(void);
|
|||||||
void dispatcher_stop(void);
|
void dispatcher_stop(void);
|
||||||
|
|
||||||
// Get current state (thread-safe snapshot)
|
// Get current state (thread-safe snapshot)
|
||||||
AppState dispatcher_get_state(void);
|
void dispatcher_get_state(AppState *out);
|
||||||
|
|
||||||
// ============================================================
|
// ============================================================
|
||||||
// Reducer - pure function
|
// Reducer - pure function
|
||||||
|
|||||||
Reference in New Issue
Block a user