diff options
| author | stonedDiscord <stoned@derpymail.org> | 2018-03-03 12:10:38 +0100 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2018-03-03 12:10:38 +0100 |
| commit | a8a848ecc2fed47a5a19aa4a97c0a34e94c6dcb9 (patch) | |
| tree | d929a1434047701492087b0f44aec0f3555b3842 /discord-rpc.h | |
| parent | 4eba53ebb2ca83c61af750d18e34de22ae3b5a2d (diff) | |
update d-rpc
Diffstat (limited to 'discord-rpc.h')
| -rw-r--r-- | discord-rpc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/discord-rpc.h b/discord-rpc.h index 8c117acd..feb874b2 100644 --- a/discord-rpc.h +++ b/discord-rpc.h @@ -49,7 +49,7 @@ typedef struct DiscordJoinRequest { } DiscordJoinRequest; typedef struct DiscordEventHandlers { - void (*ready)(); + void (*ready)(void); void (*disconnected)(int errorCode, const char* message); void (*errored)(int errorCode, const char* message); void (*joinGame)(const char* joinSecret); @@ -76,6 +76,7 @@ DISCORD_EXPORT void Discord_UpdateConnection(void); #endif DISCORD_EXPORT void Discord_UpdatePresence(const DiscordRichPresence* presence); +DISCORD_EXPORT void Discord_ClearPresence(void); DISCORD_EXPORT void Discord_Respond(const char* userid, /* DISCORD_REPLY_ */ int reply); |
