Fixed event typedefs

This commit is contained in:
KiritoDv 2024-12-27 23:07:35 -06:00 committed by Lywx
parent c05a489d60
commit f949f675a2

View File

@ -6,18 +6,18 @@
typedef uint16_t EventID; typedef uint16_t EventID;
typedef enum EventType { typedef enum {
EVENT_TYPE_PRE, EVENT_TYPE_PRE,
EVENT_TYPE_POST EVENT_TYPE_POST
} EventType; } EventType;
typedef enum EventPriority { typedef enum {
EVENT_PRIORITY_LOW, EVENT_PRIORITY_LOW,
EVENT_PRIORITY_NORMAL, EVENT_PRIORITY_NORMAL,
EVENT_PRIORITY_HIGH, EVENT_PRIORITY_HIGH,
} EventPriority; } EventPriority;
typedef struct IEvent { typedef struct {
bool cancelled; bool cancelled;
} IEvent; } IEvent;