Sun, 10 Jun 2007 16:01:26 +0000
Initial commit:
* Created tree structure
* Committed current version
0 | 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 |