Fri, 16 Nov 2007 11:46:23 -0500
docs: Fixed formatting glitches
doc/api.mdwn | file | annotate | diff | comparison | revisions | |
doc/modules/luaevent.core.buffer.mdwn | file | annotate | diff | comparison | revisions |
--- a/doc/api.mdwn Fri Nov 16 11:39:55 2007 -0500 +++ b/doc/api.mdwn Fri Nov 16 11:46:23 2007 -0500 @@ -9,6 +9,7 @@ * [[modules/luaevent]] - Higher level wrapper mimicking [copas](http://www.luaforge.net/projects/copas) Note: Any reference to a "File Descriptor" may in fact be one of the following: + * Integer value of file descriptor * lightuserdata 'handle' (cast to a native integer) * [LuaSocket](http://www.luaforge.net/projects/luasocket)-based socket handle \ No newline at end of file
--- a/doc/modules/luaevent.core.buffer.mdwn Fri Nov 16 11:39:55 2007 -0500 +++ b/doc/modules/luaevent.core.buffer.mdwn Fri Nov 16 11:46:23 2007 -0500 @@ -14,10 +14,10 @@ * Output: Amount of data added (QUESTION: Should add return the buffer itself so that chaining can be easy) -## buffer:length (`__len`) +## buffer:length (__len) * Output: Length of the remaining buffer contents -## buffer:get\_data (`__tostring`) +## buffer:get\_data (__tostring) * Input: * `()` and `__tostring` - Returns all data in the buffer * `(len)` - Returns data up to `len` bytes long @@ -56,5 +56,5 @@ TODO: Add code to check this condition explicitly for safety * If `amt >= 0`, drain up to amt from the buffer (no problem w/ too-large values) -## buffer:close (`__gc`) +## buffer:close (__gc) * Immediately frees/closes a buffer. Note that