mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-09 17:19:09 +00:00
C nonsense
This commit is contained in:
parent
c6c0aefa4f
commit
12054246a2
|
@ -7,7 +7,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
typedef struct DiscordRichPresence {
|
||||
const char* state;
|
||||
const char* details;
|
||||
int64_t startTimestamp;
|
||||
|
@ -25,7 +25,7 @@ typedef struct {
|
|||
int8_t instance;
|
||||
} DiscordRichPresence;
|
||||
|
||||
typedef struct {
|
||||
typedef struct DiscordEventHandlers {
|
||||
void (*ready)();
|
||||
void (*disconnected)(int errorCode, const char* message);
|
||||
void (*presenceRequested)();
|
||||
|
|
Loading…
Reference in a new issue