prime/include/dolphin/os/OSError.h
Henrique Gemignani Passos Lima 7e8bc34cab
Start RAssertDolphin (#3)
* 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
2022-09-29 19:09:11 -04:00

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