RetroArch
discord_register.h
Go to the documentation of this file.
1 #pragma once
2 
3 #if defined(DISCORD_DYNAMIC_LIB)
4 #if defined(_WIN32)
5 #if defined(DISCORD_BUILDING_SDK)
6 #define DISCORD_EXPORT __declspec(dllexport)
7 #else
8 #define DISCORD_EXPORT __declspec(dllimport)
9 #endif
10 #else
11 #define DISCORD_EXPORT __attribute__((visibility("default")))
12 #endif
13 #else
14 #define DISCORD_EXPORT
15 #endif
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 DISCORD_EXPORT void Discord_Register(const char* applicationId, const char* command);
22 DISCORD_EXPORT void Discord_RegisterSteamGame(const char* applicationId, const char* steamId);
23 
24 #ifdef __cplusplus
25 }
26 #endif
DISCORD_EXPORT void Discord_RegisterSteamGame(const char *applicationId, const char *steamId)
Definition: discord_register_linux.cpp:94
#define DISCORD_EXPORT
Definition: discord_register.h:14
DISCORD_EXPORT void Discord_Register(const char *applicationId, const char *command)
Definition: discord_register_linux.cpp:25
Definition: command.c:129