luaevent/include/luaevent.h

changeset 0
f2e807614be9
child 1
31c782cfe7fe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/luaevent/include/luaevent.h	Sun Jun 10 16:01:26 2007 +0000
@@ -0,0 +1,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

mercurial