From 4c2a04eded5c66c6696d4b53aee339f0f3ab8155 Mon Sep 17 00:00:00 2001 From: Thomas Harning Jr Date: Fri, 31 Aug 2007 09:34:09 -0400 Subject: Reformed project layout from 'luaevent/*' -> '*' --- include/luaevent.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/luaevent.h (limited to 'include') diff --git a/include/luaevent.h b/include/luaevent.h new file mode 100644 index 0000000..2878632 --- /dev/null +++ b/include/luaevent.h @@ -0,0 +1,24 @@ +/* LuaEvent - Copyright (C) 2007 Thomas Harning + * Licensed as LGPL - See doc/COPYING for details */ +#ifndef LUAEVENT_H +#define LUAEVENT_H + +#include +#include +#include +#include + +typedef struct { + struct event_base* base; + lua_State* loop_L; +} le_base; + +typedef struct { + struct event ev; + le_base* base; + int callbackRef; +} le_callback; + +int luaopen_luaevent(lua_State* L); + +#endif -- cgit v1.2.3