diff options
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2,8 +2,6 @@ #include <lua.h> -struct stream; // TODO: Remove buffer to stream dependency. - struct buffer { char * data; @@ -14,6 +12,6 @@ struct buffer }; void grow(lua_State *, struct buffer *); -int prepare_at_least(lua_State *, struct stream *, const int, lua_KContext); -int read_more(lua_State *, struct stream *, const int, lua_KContext); +int read_more(lua_State *, const int, struct buffer *, const int, lua_KContext); +int prepare_at_least(lua_State *, const int, struct buffer *, const int, lua_KContext); int until(struct buffer *, const char *, const int); |