wut/include/wut.h

30 lines
487 B
C

#pragma once
/*
* wut 1.0.0-beta
*
* https://github.com/devkitPro/wut
*/
#include "wut_structsize.h"
#include "wut_types.h"
#include "wut_rplwrap.h"
#ifdef DEBUG
#include <coreinit/debug.h>
#endif
#ifdef __GNUC__
#define WUT_DEPRECATED(reason) __attribute__((deprecated(reason)))
#else // not __GNUC__
#define WUT_DEPRECATED(reason)
#endif //__GNUC__
#ifdef DEBUG
#define WUT_DEBUG_REPORT(fmt, ...) OSReport(fmt, ##__VA_ARGS__)
#else
#define WUT_DEBUG_REPORT(fmt, ...)
#endif