From 4c892d337bd43b78fd89dd606341856223ad93d7 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Fri, 2 Oct 2026 22:33:44 +1300 Subject: Debug functions/receivers behind debug_features option --- include/Paradox/Object.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/Paradox') diff --git a/include/Paradox/Object.h b/include/Paradox/Object.h index ca602d7..23488fd 100644 --- a/include/Paradox/Object.h +++ b/include/Paradox/Object.h @@ -8,14 +8,18 @@ void* dummy; // it doesn't work without this so don't touch it } + (instancetype)alloc; +#ifdef PARADOX_DEBUG_FEATURES + (instancetype)allocDebug; +#endif + (instancetype)new; - (instancetype)retain; - (instancetype)init; - (void)dealloc; - (void)release; - (instancetype)autorelease; +#ifdef PARADOX_DEBUG_FEATURES - (void)healthCheck; +#endif @end #endif -- cgit v1.2.3