22:48a109847dce | 23:897150985f13 |
---|---|
11 | 11 |
12 typedef struct { | 12 typedef struct { |
13 struct event ev; | 13 struct event ev; |
14 le_base* base; | 14 le_base* base; |
15 int callbackRef; | 15 int callbackRef; |
16 struct timeval timeout; | |
16 } le_callback; | 17 } le_callback; |
17 | 18 |
18 int event_callback_register(lua_State* L); | 19 int event_callback_register(lua_State* L); |
19 | 20 |
20 le_callback* event_callback_push(lua_State* L, int baseIdx, int callbackIdx); | 21 le_callback* event_callback_push(lua_State* L, int baseIdx, int callbackIdx); |