mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-01-04 05:35:28 +01:00
Start using rapidjson
This commit is contained in:
parent
1b65e53da7
commit
930cd722d5
10 changed files with 45 additions and 42 deletions
|
|
@ -1,3 +1,3 @@
|
|||
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||||
add_executable(simple-async-client simple.c)
|
||||
target_link_libraries(simple-async-client discord-rpc)
|
||||
add_executable(simple-client-async simple.c)
|
||||
target_link_libraries(simple-client-async discord-rpc)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||||
add_executable(simple-client simpleSync.c)
|
||||
target_link_libraries(simple-client discord-rpc-sync)
|
||||
add_executable(simple-client-sync simpleSync.c)
|
||||
target_link_libraries(simple-client-sync discord-rpc-sync)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ static void handleDiscordReady() {
|
|||
printf("\nDiscord: ready\n");
|
||||
}
|
||||
|
||||
static void handleDiscordDisconnected() {
|
||||
static void handleDiscordDisconnected(int errcode, const char* msg) {
|
||||
printf("\nDiscord: disconnected\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue