luaevent/include/luaevent.h

Sun, 10 Jun 2007 16:01:26 +0000

author
Thomas Harning Jr <harningt@gmail.com>
date
Sun, 10 Jun 2007 16:01:26 +0000
changeset 0
f2e807614be9
child 1
31c782cfe7fe
permissions
-rw-r--r--

Initial commit:
* Created tree structure
* Committed current version

#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