wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
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#if defined(__GNUC__) || defined(__clang__)
10
11#define WUT_DEPRECATED(reason) __attribute__((__deprecated__(reason)))
12#define WUT_FORMAT_PRINTF(fmt, args) __attribute__((__format__(__printf__, fmt, args)))
13
14#else // not __GNUC__ and not __clang__
15
16#define WUT_DEPRECATED(reason)
17#define WUT_FORMAT_PRINTF(fmt, args)
18
19#endif //__GNUC__ or __clang__
20
21#ifdef DEBUG
22#define WUT_DEBUG_REPORT(fmt, ...) OSReport(fmt, ##__VA_ARGS__)
23#else
24#define WUT_DEBUG_REPORT(fmt, ...)
25#endif
26
27#include "wut_structsize.h"
28#include "wut_types.h"
29#include "wut_rplwrap.h"
30#ifdef DEBUG
31#include <coreinit/debug.h>
32#endif