Match and link OSMemory

Former-commit-id: 8c11873cf2
This commit is contained in:
2022-12-18 10:32:00 -08:00
parent 758b61fc47
commit 7bd2b5f649
6 changed files with 259 additions and 11 deletions

View File

@@ -28,9 +28,9 @@ extern "C" {
#define OS_ERROR_MAX (OS_ERROR_FPE + 1)
typedef u16 OSError;
typedef void OSErrorHandler(OSError, OSContext* context, ...);
typedef void (*OSErrorHandler)( OSError error, OSContext* context, ... );
void OSSetErrorHandler(OSError code, OSErrorHandler* handler);
void OSSetErrorHandler(OSError code, OSErrorHandler handler);
#ifdef __cplusplus
}