From df60d9f0684876fa74b882b086ca1205581f99cb Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 21 Aug 2021 16:33:35 +0200 Subject: Moved error handling out of buffer_grow --- buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buffer.h') diff --git a/buffer.h b/buffer.h index d3153c7..f80c22c 100644 --- a/buffer.h +++ b/buffer.h @@ -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); -- cgit v1.1