Mercurial > vim
diff src/proto/vim9execute.pro @ 30138:6575d0bf6061 v9.0.0405
patch 9.0.0405: arguments in a partial not used by a :def function
Commit: https://github.com/vim/vim/commit/c9c967da09d9faf5ba989c943352274fea365841
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 7 16:48:46 2022 +0100
patch 9.0.0405: arguments in a partial not used by a :def function
Problem: Arguments in a partial not used by a :def function.
Solution: Put the partial arguments on the stack.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 07 Sep 2022 18:00:04 +0200 |
parents | 01408b56f093 |
children | 61a688be1899 |
line wrap: on
line diff
--- a/src/proto/vim9execute.pro +++ b/src/proto/vim9execute.pro @@ -15,7 +15,7 @@ typval_T *lookup_debug_var(char_u *name) int may_break_in_function(ufunc_T *ufunc); int exe_typval_instr(typval_T *tv, typval_T *rettv); char_u *exe_substitute_instr(void); -int call_def_function(ufunc_T *ufunc, int argc_arg, typval_T *argv, partial_T *partial, funccall_T *funccal, typval_T *rettv); +int call_def_function(ufunc_T *ufunc, int argc_arg, typval_T *argv, int flags, partial_T *partial, funccall_T *funccal, typval_T *rettv); void unwind_def_callstack(ectx_T *ectx); void may_invoke_defer_funcs(ectx_T *ectx); void set_context_in_disassemble_cmd(expand_T *xp, char_u *arg);