mirror of https://github.com/PrimeDecomp/prime.git
20 lines
290 B
C
20 lines
290 B
C
#ifndef __OSERROR_H__
|
|
#define __OSERROR_H__
|
|
|
|
#include <types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef u16 OSError;
|
|
typedef void OSErrorHandler(OSError, OSContext* context, ...);
|
|
|
|
void OSSetErrorHandler(OSError code, OSErrorHandler* handler);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|