aboutsummaryrefslogtreecommitdiffstats
path: root/luaevent/include/luaevent.h
blob: 854d111f49e07e8bcbfff25952306516c3982e79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef LUAEVENT_H
#define LUAEVENT_H

#include <lua.h>
#include <sys/types.h>
#include <sys/time.h>
#include <event.h>

typedef struct {
	struct event ev;
	lua_State* L;
	int callbackRef;
} le_callback;

int luaopen_luaevent(lua_State* L);

#endif