summaryrefslogtreecommitdiffstats
path: root/src/proto/misc2.pro
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-07-29 20:22:14 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-29 20:22:14 +0200
commit41114a2a27047bf1884e092b98c6298c128eb2f0 (patch)
treee0af00022d38df4ba34dab48d7c36590d7b5fbbc /src/proto/misc2.pro
parent83cd0156e01b5befadf12ee66bc26436ee8d023f (diff)
patch 8.2.3244: Lua 5.3 print() with a long string crashesv8.2.3244
Problem: Lua 5.3 print() with a long string crashes. Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan, closes #8655)
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r--src/proto/misc2.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro
index 5ecd5958fd..a9e2b844c2 100644
--- a/src/proto/misc2.pro
+++ b/src/proto/misc2.pro
@@ -45,6 +45,7 @@ int ga_grow_inner(garray_T *gap, int n);
char_u *ga_concat_strings(garray_T *gap, char *sep);
int ga_add_string(garray_T *gap, char_u *p);
void ga_concat(garray_T *gap, char_u *s);
+void ga_concat_len(garray_T *gap, char_u *s, size_t len);
void ga_append(garray_T *gap, int c);
void append_ga_line(garray_T *gap);
int simplify_key(int key, int *modifiers);