/* * Debugging utilities. * Copyright (c) 2023-2024, Quinn Stephens and the OSMORA team. * Provided under the BSD 3-Clause license. */ #ifndef _DEBUG_H #define _DEBUG_H void __debug(const char *fmt, ...); #if defined(ENABLE_DEBUG) #define debug __debug #else #define debug(fmt, ...) #endif #endif /* !_DEBUG_H */