mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-31 04:15:34 +00:00
* Start RAssertDolphin * Add OSContext * Add missing files, Prime2's ErrorHandler * Progress in ErrorHandler * comments * Don't link new code * Format code * Slight adjustments * Use u16 for OSError
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
|