aboutsummaryrefslogtreecommitdiffstats
path: root/luaevent/include
diff options
context:
space:
mode:
Diffstat (limited to 'luaevent/include')
-rw-r--r--luaevent/include/luaevent.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/luaevent/include/luaevent.h b/luaevent/include/luaevent.h
index 8b97be7..2878632 100644
--- a/luaevent/include/luaevent.h
+++ b/luaevent/include/luaevent.h
@@ -9,10 +9,14 @@
#include <event.h>
typedef struct {
+ struct event_base* base;
+ lua_State* loop_L;
+} le_base;
+
+typedef struct {
struct event ev;
- lua_State* L;
+ le_base* base;
int callbackRef;
- int objectRef; /* TEMP */
} le_callback;
int luaopen_luaevent(lua_State* L);