summaryrefslogtreecommitdiff
path: root/src/port/hooks/impl/EventSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/hooks/impl/EventSystem.h')
-rw-r--r--src/port/hooks/impl/EventSystem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/hooks/impl/EventSystem.h b/src/port/hooks/impl/EventSystem.h
index 17413408..32a32a26 100644
--- a/src/port/hooks/impl/EventSystem.h
+++ b/src/port/hooks/impl/EventSystem.h
@@ -41,15 +41,15 @@ typedef struct {
__VA_ARGS__ \
} eventName; \
\
- static uint32_t eventName##_ID = INTERNAL_EVENT_ID(id, type);
+ static uint32_t eventName##ID = INTERNAL_EVENT_ID(id, type);
#define CALL_EVENT(eventType, ...) \
eventType eventType##_ = { {false}, __VA_ARGS__ }; \
- EventSystem_CallEvent(eventType##_ID, &eventType##_);
+ EventSystem_CallEvent(eventType##ID, &eventType##_);
#define CALL_CANCELLABLE_EVENT(eventType, ...) \
eventType eventType##_ = { {false}, __VA_ARGS__ }; \
- EventSystem_CallEvent(eventType##_ID, &eventType##_); \
+ EventSystem_CallEvent(eventType##ID, &eventType##_); \
if (!eventType##_.event.cancelled)
#ifdef __cplusplus