aboutsummaryrefslogtreecommitdiffstats
path: root/luaevent/include/luaevent.h
diff options
context:
space:
mode:
authorThomas Harning Jr <harningt@gmail.com>2007-08-18 20:57:33 +0000
committerThomas Harning Jr <harningt@gmail.com>2007-08-18 20:57:33 +0000
commit663fa798eeda2d1c66351d707c2f7e9cb2a9cf00 (patch)
treebe8a04fdf08eb4865dc55f6c9f7032d9ba93b403 /luaevent/include/luaevent.h
parentdbea9370eb58cdc3cbd1b12d8c8735582370cd6e (diff)
downloadluaevent-prosody-663fa798eeda2d1c66351d707c2f7e9cb2a9cf00.tar.gz
luaevent-prosody-663fa798eeda2d1c66351d707c2f7e9cb2a9cf00.zip
* Committing what will be version 0.1.2
Main feature: Callback/coroutine issues resolved as described in COROUTINE_MANAGEMENT
Diffstat (limited to 'luaevent/include/luaevent.h')
-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);