Fix small bug in StreamBuffer

This commit is contained in:
2021-03-05 14:33:01 -05:00
parent c742bc5645
commit d29e471f1d
3 changed files with 7 additions and 6 deletions

View File

@@ -344,7 +344,7 @@ public:
// Rewind the read cursor to a previous position.
void unread_to(int64_t read_count);
// Use the stream buffer as a lua_Writer.
static int lua_writer(lua_State *L, const void* p, size_t sz, void* ud);
void *lua_writer_ud();