summaryrefslogtreecommitdiff
path: root/src/proto/vim9execute.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-02 23:12:58 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-02 23:12:58 +0200
commit5adc55cb746893c6ddf7865ff654582902dee2e3 (patch)
tree7388ed33702564ad763cdd09af8dcb7552041925 /src/proto/vim9execute.pro
parent1c0d44f8efae36c079cb8be395785827aa0b2737 (diff)
downloadvim-git-5adc55cb746893c6ddf7865ff654582902dee2e3.tar.gz
patch 8.2.0683: Vim9: parsing type does not always workv8.2.0683
Problem: Vim9: parsing type does not always work. Solution: Handle func type without return value. Test more closures. Fix type check offset. Fix garbage collection.
Diffstat (limited to 'src/proto/vim9execute.pro')
-rw-r--r--src/proto/vim9execute.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/vim9execute.pro b/src/proto/vim9execute.pro
index 4f7262d74..578fe81e1 100644
--- a/src/proto/vim9execute.pro
+++ b/src/proto/vim9execute.pro
@@ -1,6 +1,7 @@
/* vim9execute.c */
-int call_def_function(ufunc_T *ufunc, int argc, typval_T *argv, typval_T *rettv);
+int call_def_function(ufunc_T *ufunc, int argc_arg, typval_T *argv, typval_T *rettv);
void ex_disassemble(exarg_T *eap);
int tv2bool(typval_T *tv);
int check_not_string(typval_T *tv);
+int set_ref_in_dfunc(ufunc_T *ufunc, int copyID);
/* vim: set ft=c : */