mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
daemon: add game_mode_client_ref
Now that GameModeClient is reference counted, the counterpart to game_mode_client_unref is also needed.
This commit is contained in:
@ -54,6 +54,11 @@ typedef struct GameModeClient GameModeClient;
|
||||
*/
|
||||
void game_mode_client_unref(GameModeClient *client);
|
||||
|
||||
/**
|
||||
* Increment the usage count of client.
|
||||
*/
|
||||
void game_mode_client_ref(GameModeClient *client);
|
||||
|
||||
/**
|
||||
* Return the singleton instance
|
||||
*/
|
||||
|
Reference in New Issue
Block a user