blob: 29434be1b497f1d2f076ed7d71c77cbb72547670 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* 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 */
|