2016-01-06 00:24:54 +01:00
|
|
|
#pragma once
|
2016-01-07 13:07:13 +01:00
|
|
|
#include <wut.h>
|
2016-01-06 00:24:54 +01:00
|
|
|
|
2016-01-07 17:02:54 +01:00
|
|
|
/**
|
|
|
|
* \defgroup coreinit_debug Debug
|
|
|
|
* \ingroup coreinit
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2016-01-07 15:09:43 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2016-01-06 00:24:54 +01:00
|
|
|
|
2016-01-07 17:02:54 +01:00
|
|
|
|
2016-01-06 00:24:54 +01:00
|
|
|
void
|
2016-01-07 13:48:11 +01:00
|
|
|
OSConsoleWrite(const char *msg,
|
|
|
|
uint32_t size);
|
2016-01-06 00:24:54 +01:00
|
|
|
|
2016-01-07 17:02:54 +01:00
|
|
|
|
2016-01-06 00:24:54 +01:00
|
|
|
void
|
|
|
|
OSReport(const char *fmt, ...);
|
|
|
|
|
2016-01-07 17:02:54 +01:00
|
|
|
|
2016-01-06 00:24:54 +01:00
|
|
|
void
|
2016-01-07 13:48:11 +01:00
|
|
|
OSPanic(const char *file,
|
|
|
|
uint32_t line,
|
|
|
|
const char *fmt, ...);
|
2016-01-06 00:24:54 +01:00
|
|
|
|
2016-01-07 17:02:54 +01:00
|
|
|
|
2016-01-06 00:24:54 +01:00
|
|
|
void
|
|
|
|
OSFatal(const char *msg);
|
|
|
|
|
2016-01-07 17:02:54 +01:00
|
|
|
|
2016-01-07 15:09:43 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2016-01-07 17:02:54 +01:00
|
|
|
|
|
|
|
/** @} */
|