From 663fa798eeda2d1c66351d707c2f7e9cb2a9cf00 Mon Sep 17 00:00:00 2001 From: Thomas Harning Jr Date: Sat, 18 Aug 2007 20:57:33 +0000 Subject: * Committing what will be version 0.1.2 Main feature: Callback/coroutine issues resolved as described in COROUTINE_MANAGEMENT --- luaevent/include/luaevent.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'luaevent/include/luaevent.h') 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 @@ -8,11 +8,15 @@ #include #include +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); -- cgit v1.2.3