Replaced the typedef of Thread in order to allow user redefinition

This commit is contained in:
SeleDreams 2022-07-18 08:19:20 +02:00
parent 607f1d1fb6
commit 4b6d769fd5

View File

@ -19,7 +19,8 @@
#define WRITE_DATA_TO_FAULTING_STACK ((ERRF_ExceptionData*)1)
/// libctru thread handle type
typedef struct Thread_tag* Thread;
typedef struct Thread_tag* CTRThread;
#define Thread CTRThread
/// Exception handler type, necessarily an ARM function that does not return.
typedef void (*ExceptionHandler)(ERRF_ExceptionInfo* excep, CpuRegisters* regs);