include/event_callback.h

changeset 22
48a109847dce
parent 20
71bc2e49366c
child 23
897150985f13
--- a/include/event_callback.h	Wed Sep 05 22:49:38 2007 -0400
+++ b/include/event_callback.h	Wed Sep 05 23:05:05 2007 -0400
@@ -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 @@
 
 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

mercurial