From 9882ab49c94d3ebb5b1fe5679fff151cb642817c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Mart=C3=ADn?= Date: Thu, 4 Jul 2024 10:48:32 +0200 Subject: [PATCH] Add TL_ONLY_IN_DEBUG macro --- include/tl/only_in_debug.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 include/tl/only_in_debug.h diff --git a/include/tl/only_in_debug.h b/include/tl/only_in_debug.h new file mode 100644 index 0000000..6699e34 --- /dev/null +++ b/include/tl/only_in_debug.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef _DEBUG +#define TL_ONLY_IN_DEBUG(...) __VA_ARGS__ +#else +#define TL_ONLY_IN_DEBUG(...) +#endif