Changed "struct KernelCallback" to be an union

This commit is contained in:
Alex
2023-03-08 05:25:37 +02:00
parent a265cb59c8
commit 06aa2bb31b
2 changed files with 59 additions and 54 deletions

View File

@ -58,7 +58,7 @@ struct Fex
int (*EntryPoint)(void *);
} __attribute__((packed));
struct KernelCallback;
union KernelCallback;
struct FexExtended
{
@ -73,7 +73,7 @@ struct FexExtended
enum FexDriverType Type : 4;
enum FexDriverInputTypes TypeFlags : 4;
bool OverrideOnConflict : 1;
int (*Callback)(struct KernelCallback *);
int (*Callback)(union KernelCallback *);
struct DriverBind
{