wut  v1.7.0
Wii U Toolchain
wut.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*
4  * wut 1.0.0-beta
5  *
6  * https://github.com/devkitPro/wut
7  */
8 
9 #include "wut_structsize.h"
10 #include "wut_types.h"
11 #include "wut_rplwrap.h"
12 #ifdef DEBUG
13 #include <coreinit/debug.h>
14 #endif
15 
16 #ifdef __GNUC__
17 
18 #define WUT_DEPRECATED(reason) __attribute__((deprecated(reason)))
19 
20 #else // not __GNUC__
21 
22 #define WUT_DEPRECATED(reason)
23 
24 #endif //__GNUC__
25 
26 #ifdef DEBUG
27 #define WUT_DEBUG_REPORT(fmt, ...) OSReport(fmt, ##__VA_ARGS__)
28 #else
29 #define WUT_DEBUG_REPORT(fmt, ...)
30 #endif