luaevent/include/luaevent.h

Sun, 10 Jun 2007 16:52:55 +0000

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

* Adjusted licensing and added README.

/* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
 * Licensed as LGPL - See doc/COPYING for details */
#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