diff options
author | Aki <please@ignore.pl> | 2021-08-21 16:44:02 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-08-21 16:44:02 +0200 |
commit | 38c611cff6d03383e111dd4c9c9f2c5f8dfc87d6 (patch) | |
tree | 57439eec383ce29988c7b486278752090266577f /buffer.h | |
parent | 506fa912f42d31fd1760d9b3b9f3fbcfe43da2be (diff) | |
download | plop-38c611cff6d03383e111dd4c9c9f2c5f8dfc87d6.zip plop-38c611cff6d03383e111dd4c9c9f2c5f8dfc87d6.tar.gz plop-38c611cff6d03383e111dd4c9c9f2c5f8dfc87d6.tar.bz2 |
Moved error handling and lua state out of buffer_prepare_at_least
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,7 +1,5 @@ #pragma once -#include <lua.h> - struct buffer { char * data; @@ -13,5 +11,5 @@ struct buffer int buffer_grow(struct buffer *); 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_prepare_at_least(const int, struct buffer *, const int); int buffer_until(struct buffer *, const char *, const int); |