summaryrefslogtreecommitdiffhomepage
path: root/buffer.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-08-21 16:38:29 +0200
committerAki <please@ignore.pl>2021-08-21 16:38:29 +0200
commit506fa912f42d31fd1760d9b3b9f3fbcfe43da2be (patch)
treedc5377216a3634a2370e1885d0e892b1084ee9be /buffer.h
parentdf60d9f0684876fa74b882b086ca1205581f99cb (diff)
downloadplop-506fa912f42d31fd1760d9b3b9f3fbcfe43da2be.zip
plop-506fa912f42d31fd1760d9b3b9f3fbcfe43da2be.tar.gz
plop-506fa912f42d31fd1760d9b3b9f3fbcfe43da2be.tar.bz2
Moved error handling out of buffer_read_more
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.h b/buffer.h
index f80c22c..c051f2d 100644
--- a/buffer.h
+++ b/buffer.h
@@ -12,6 +12,6 @@ struct buffer
};
int buffer_grow(struct buffer *);
-int buffer_read_more(lua_State *, const int, struct buffer *, const int, lua_KContext);
+int buffer_read_more(const int, struct buffer *, const int);
int buffer_prepare_at_least(lua_State *, const int, struct buffer *, const int, lua_KContext);
int buffer_until(struct buffer *, const char *, const int);