diff options
author | Aki <please@ignore.pl> | 2021-08-21 16:33:35 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-08-21 16:33:35 +0200 |
commit | df60d9f0684876fa74b882b086ca1205581f99cb (patch) | |
tree | 95f45c6bb770c7cefdcaaa2bde6311a7a2c88704 /buffer.h | |
parent | 4c76943de7912996cc6e380a44da9e8f3ea32503 (diff) | |
download | plop-df60d9f0684876fa74b882b086ca1205581f99cb.zip plop-df60d9f0684876fa74b882b086ca1205581f99cb.tar.gz plop-df60d9f0684876fa74b882b086ca1205581f99cb.tar.bz2 |
Moved error handling out of buffer_grow
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ struct buffer int allocated; }; -void buffer_grow(lua_State *, struct buffer *); +int buffer_grow(struct buffer *); int buffer_read_more(lua_State *, const int, struct buffer *, const int, lua_KContext); int buffer_prepare_at_least(lua_State *, const int, struct buffer *, const int, lua_KContext); int buffer_until(struct buffer *, const char *, const int); |