luaevent/include/luaevent.h

changeset 0
f2e807614be9
child 1
31c782cfe7fe
equal deleted inserted replaced
-1:000000000000 0:f2e807614be9
1 #ifndef LUAEVENT_H
2 #define LUAEVENT_H
3
4 #include <lua.h>
5 #include <sys/types.h>
6 #include <sys/time.h>
7 #include <event.h>
8
9 typedef struct {
10 struct event ev;
11 lua_State* L;
12 int callbackRef;
13 } le_callback;
14
15 int luaopen_luaevent(lua_State* L);
16
17 #endif

mercurial