aboutsummaryrefslogtreecommitdiffstats
path: root/src/luaevent.c
diff options
context:
space:
mode:
authorThomas Harning Jr <harningt@gmail.com>2007-09-06 23:22:55 -0400
committerThomas Harning Jr <harningt@gmail.com>2007-09-06 23:22:55 -0400
commitc8d56ebf5f7deb3891fb2c60b91b74f71a1d3f2c (patch)
tree6b21330c5e113476fbed203e4239302bc477e7d3 /src/luaevent.c
parent64a4223203928443ee5a49dbb7579e1db53a4056 (diff)
downloadluaevent-prosody-c8d56ebf5f7deb3891fb2c60b91b74f71a1d3f2c.tar.gz
luaevent-prosody-c8d56ebf5f7deb3891fb2c60b91b74f71a1d3f2c.zip
Added event_buffer object + 'add' functionality
Diffstat (limited to 'src/luaevent.c')
-rw-r--r--src/luaevent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/luaevent.c b/src/luaevent.c
index 8903af1..c1428c1 100644
--- a/src/luaevent.c
+++ b/src/luaevent.c
@@ -3,6 +3,7 @@
#include "luaevent.h"
#include "event_callback.h"
+#include "event_buffer.h"
#include <lua.h>
#include <lauxlib.h>
@@ -119,6 +120,7 @@ void setNamedIntegers(lua_State* L, namedInteger* p) {
int luaopen_luaevent_core(lua_State* L) {
/* Register external items */
event_callback_register(L);
+ event_buffer_register(L);
/* Setup metatable */
luaL_newmetatable(L, EVENT_BASE_MT);
lua_newtable(L);