Mercurial > hg > orthanc-stone
diff Platforms/Wasm/Defaults.cpp @ 458:e74f9271d653 am-touch-events
removed/updated logs
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 29 Jan 2019 14:48:59 +0100 |
parents | 3b4df9925db6 |
children | 7105a0bad250 |
line wrap: on
line diff
--- a/Platforms/Wasm/Defaults.cpp Thu Jan 24 16:42:27 2019 +0100 +++ b/Platforms/Wasm/Defaults.cpp Tue Jan 29 14:48:59 2019 +0100 @@ -346,15 +346,13 @@ { static std::string output; // we don't want the string to be deallocated when we return to JS code so we always use the same string (this is fine since JS is single-thread) - printf("SendMessageToStoneApplication\n"); - printf("%s", message); + printf("SendMessageToStoneApplication (JS -> C++): %s\n", message); if (applicationWasmAdapter.get() != NULL) { - printf("sending message to C++\n"); applicationWasmAdapter->HandleMessageFromWeb(output, std::string(message)); return output.c_str(); } - printf("This stone application does not have a Web Adapter"); + printf("This stone application does not have a Web Adapter\n"); return NULL; }