diff options
Diffstat (limited to 'dbgmsg.cc')
-rw-r--r-- | dbgmsg.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dbgmsg.cc b/dbgmsg.cc new file mode 100644 index 0000000..f09ebf7 --- /dev/null +++ b/dbgmsg.cc @@ -0,0 +1,6 @@ +# include <luma/main.hh> +void luma::dbgmsg(char const * msg) { + if constexpr(debug) { + luma::msgerr(msg); + } +} |