include/luaevent.h

Sat, 01 Sep 2007 00:06:39 -0400

author
Thomas Harning Jr <harningt@gmail.com>
date
Sat, 01 Sep 2007 00:06:39 -0400
changeset 16
742a6620b378
parent 13
3e2ea1e7b2e8
child 20
71bc2e49366c
permissions
-rw-r--r--

Removed no-longer-applicable 'Revision' numbers from CHANGELOG

/* 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_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

mercurial