# HG changeset patch # User Thomas Harning Jr # Date 1190399844 14400 # Node ID b1742e841e5ae4278f646f4560fbd9e621d38fa2 # Parent fce1995f0db8097e9bd0689ea64218fd5c066444 Corrected spacing issues introduced in SciTE ... may begin using gvim to avoid these issues... diff -r fce1995f0db8 -r b1742e841e5a include/buffer_event.h --- a/include/buffer_event.h Fri Sep 21 14:35:11 2007 -0400 +++ b/include/buffer_event.h Fri Sep 21 14:37:24 2007 -0400 @@ -1,7 +1,7 @@ /* LuaEvent - Copyright (C) 2007 Thomas Harning * Licensed as LGPL - See doc/COPYING for details */ - #ifndef BUFFER_EVENT_H - #define BUFFER_EVENT_H +#ifndef BUFFER_EVENT_H +#define BUFFER_EVENT_H #include "luaevent.h" #include diff -r fce1995f0db8 -r b1742e841e5a src/buffer_event.c --- a/src/buffer_event.c Fri Sep 21 14:35:11 2007 -0400 +++ b/src/buffer_event.c Fri Sep 21 14:37:24 2007 -0400 @@ -1,6 +1,5 @@ /* LuaEvent - Copyright (C) 2007 Thomas Harning * Licensed as LGPL - See doc/COPYING for details */ - #include "buffer_event.h" #include "luaevent.h" #include "utility.h" @@ -85,7 +84,7 @@ lua_rawseti(L, -2, 2); // Write lua_pushvalue(L, 5); lua_rawseti(L, -2, 3); // Err - + event_buffer_push(L, ev->ev->input); lua_rawseti(L, -2, 4); event_buffer_push(L, ev->ev->output); @@ -104,7 +103,7 @@ le_buffer *read, *write; bufferevent_free(ev->ev); ev->ev = NULL; - /* Also clear out the associated input/output event_buffers + /* Also clear out the associated input/output event_buffers * since they would have already been freed.. */ lua_getfenv(L, 1); lua_rawgeti(L, -1, 4); @@ -135,7 +134,7 @@ luaL_register(L, NULL, buffer_event_funcs); lua_setfield(L, -2, "__index"); lua_pop(L, 1); - + luaL_register(L, "luaevent.core.bufferevent", funcs); return 1; }