include/event_callback.h

changeset 77
ad37f03df138
parent 23
897150985f13
equal deleted inserted replaced
76:0ad46f11657a 77:ad37f03df138
2 * Licensed as LGPL - See doc/COPYING for details */ 2 * Licensed as LGPL - See doc/COPYING for details */
3 #ifndef EVENT_CALLBACK 3 #ifndef EVENT_CALLBACK
4 #define EVENT_CALLBACK 4 #define EVENT_CALLBACK
5 5
6 #include "luaevent.h" 6 #include "luaevent.h"
7 #include <lua.h>
8 #include <sys/types.h>
9 #include <sys/time.h>
10 #include <event.h>
11 7
12 typedef struct { 8 typedef struct {
13 struct event ev; 9 struct event ev;
14 le_base* base; 10 le_base* base;
15 int callbackRef; 11 int callbackRef;

mercurial