mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 17:52:29 +00:00
20 lines
304 B
C
20 lines
304 B
C
|
|
#ifndef EVENT_HANDLER_H
|
||
|
|
#define EVENT_HANDLER_H
|
||
|
|
|
||
|
|
#include "system/types.h"
|
||
|
|
|
||
|
|
#include "storm/list.h"
|
||
|
|
|
||
|
|
DECLARE_STRUCT(EvtHandler);
|
||
|
|
|
||
|
|
STORM_TS_LIST(EvtHandler);
|
||
|
|
|
||
|
|
struct EvtHandler {
|
||
|
|
TSLink_EvtHandler link;
|
||
|
|
int32_t (*func)(const void*, void*);
|
||
|
|
void* param;
|
||
|
|
float priority;
|
||
|
|
int32_t marker;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|