Mercurial > vim
comparison src/proto/misc2.pro @ 21558:1c4d4aa22b37 v8.2.1329
patch 8.2.1329: Vim9: cannot define global function inside :def function
Commit: https://github.com/vim/vim/commit/38ddf333f6b2806b0ea2dd052ee1cd50dd7f4525
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 31 22:05:04 2020 +0200
patch 8.2.1329: Vim9: cannot define global function inside :def function
Problem: Vim9: cannot define global function inside :def function.
Solution: Assign to global variable instead of local. (closes https://github.com/vim/vim/issues/6584)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 31 Jul 2020 22:15:04 +0200 |
parents | d64520bfafa0 |
children | 6c7e4db139a3 |
comparison
equal
deleted
inserted
replaced
21557:00c9f8522652 | 21558:1c4d4aa22b37 |
---|---|
54 char_u *vim_strbyte(char_u *string, int c); | 54 char_u *vim_strbyte(char_u *string, int c); |
55 char_u *vim_strrchr(char_u *string, int c); | 55 char_u *vim_strrchr(char_u *string, int c); |
56 int vim_isspace(int x); | 56 int vim_isspace(int x); |
57 void ga_clear(garray_T *gap); | 57 void ga_clear(garray_T *gap); |
58 void ga_clear_strings(garray_T *gap); | 58 void ga_clear_strings(garray_T *gap); |
59 int ga_copy_strings(garray_T *from, garray_T *to); | |
59 void ga_init(garray_T *gap); | 60 void ga_init(garray_T *gap); |
60 void ga_init2(garray_T *gap, int itemsize, int growsize); | 61 void ga_init2(garray_T *gap, int itemsize, int growsize); |
61 int ga_grow(garray_T *gap, int n); | 62 int ga_grow(garray_T *gap, int n); |
62 int ga_grow_inner(garray_T *gap, int n); | 63 int ga_grow_inner(garray_T *gap, int n); |
63 char_u *ga_concat_strings(garray_T *gap, char *sep); | 64 char_u *ga_concat_strings(garray_T *gap, char *sep); |