aboutsummaryrefslogtreecommitdiffstats
path: root/include/event_callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/event_callback.h')
-rw-r--r--include/event_callback.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/event_callback.h b/include/event_callback.h
index e6e60c4..cb34d8e 100644
--- a/include/event_callback.h
+++ b/include/event_callback.h
@@ -9,8 +9,6 @@
#include <sys/time.h>
#include <event.h>
-#define EVENT_CALLBACK_ARG_MT "EVENT_CALLBACK_ARG_MT"
-
typedef struct {
struct event ev;
le_base* base;
@@ -19,6 +17,8 @@ typedef struct {
int event_callback_register(lua_State* L);
+le_callback* event_callback_push(lua_State* L, int baseIdx, int callbackIdx);
+
void luaevent_callback(int fd, short event, void* p);
#endif