From bcf5a60dafbb50509ddcdf92719c0161024adb78 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Thu, 16 Sep 2021 15:38:53 +0200 Subject: Pass on ZEN_NOT_IMPLEMENTED arguments into the resulting ZEN_ASSERT macro --- zencore/include/zencore/zencore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zencore/include') diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h index 73446b447..abea4ecc8 100644 --- a/zencore/include/zencore/zencore.h +++ b/zencore/include/zencore/zencore.h @@ -148,7 +148,7 @@ char (&ZenArrayCountHelper(const T (&)[N]))[N + 1]; #endif #define ZEN_UNUSED(...) ((void)__VA_ARGS__) -#define ZEN_NOT_IMPLEMENTED(...) ZEN_ASSERT(false) +#define ZEN_NOT_IMPLEMENTED(...) ZEN_ASSERT(false, __VA_ARGS__) #define ZENCORE_API // Placeholder to allow DLL configs in the future ZENCORE_API bool IsPointerToStack(const void* ptr); // Query if pointer is within the stack of the currently executing thread -- cgit v1.2.3