From 13fd64a70ddecdc66bc54c75af18c2ee404206e1 Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 25 Feb 2026 18:57:48 +0100 Subject: [PATCH] Add macro for force-enabling heap tracking --- include/wups/meta.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/wups/meta.h b/include/wups/meta.h index a392447..1126920 100644 --- a/include/wups/meta.h +++ b/include/wups/meta.h @@ -63,10 +63,11 @@ extern "C" { "Function \"wut_get_thread_specific\" returned unexpected value.\n" \ "Please check linking order (expected \"-lwups -lwut\")"; -#define WUPS_PLUGIN_AUTHOR(x) WUPS_META(author, x) -#define WUPS_PLUGIN_VERSION(x) WUPS_META(version, x) -#define WUPS_PLUGIN_LICENSE(x) WUPS_META(license, x) -#define WUPS_PLUGIN_DESCRIPTION(x) WUPS_META(description, x) +#define WUPS_PLUGIN_AUTHOR(x) WUPS_META(author, x) +#define WUPS_PLUGIN_VERSION(x) WUPS_META(version, x) +#define WUPS_PLUGIN_LICENSE(x) WUPS_META(license, x) +#define WUPS_PLUGIN_DESCRIPTION(x) WUPS_META(description, x) +#define WUPS_PLUGIN_HEAP_TRACKING() WUPS_META(debug, "track_heap_with_stack_trace") #ifdef __cplusplus }