aboutsummaryrefslogtreecommitdiff
path: root/src/win/debug.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-10 19:42:46 +0800
committercrupest <crupest@outlook.com>2019-04-10 19:42:46 +0800
commit7351020a582d70a1495249fba87d342c8a1fb634 (patch)
treee80f225041dc3816b3dce21c7e15aadbb211602e /src/win/debug.cpp
parenta94a806f69586e08a30fff0cdb3e52b0ce7acfa5 (diff)
downloadcru-7351020a582d70a1495249fba87d342c8a1fb634.tar.gz
cru-7351020a582d70a1495249fba87d342c8a1fb634.tar.bz2
cru-7351020a582d70a1495249fba87d342c8a1fb634.zip
Refactor.
Diffstat (limited to 'src/win/debug.cpp')
-rw-r--r--src/win/debug.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/win/debug.cpp b/src/win/debug.cpp
new file mode 100644
index 00000000..e15b1f6c
--- /dev/null
+++ b/src/win/debug.cpp
@@ -0,0 +1,9 @@
+#include "cru/win/win_pre_config.hpp"
+
+#include "cru/platform/debug.hpp"
+
+namespace cru::platform {
+void DebugMessage(const std::wstring_view& message) {
+ ::OutputDebugStringW(message.data());
+}
+} // namespace cru::platform