Port Win32 Discord integration to Linux and macOS

This commit is contained in:
Cacodemon345
2022-01-09 01:04:59 +06:00
parent c5e3d9a75f
commit 62a4a025b1
9 changed files with 72 additions and 14 deletions

View File

@@ -17,6 +17,11 @@
#ifndef WIN_DISCORD_H
# define WIN_DISCORD_H
#ifdef __cplusplus
extern "C"
{
#endif
extern int discord_loaded;
extern int discord_load();
@@ -25,4 +30,8 @@ extern void discord_close();
extern void discord_update_activity(int paused);
extern void discord_run_callbacks();
#endif
#ifdef __cplusplus
}
#endif
#endif