Mercurial > vim
comparison src/proto/evalfunc.pro @ 28775:7fd3a9f05037 v8.2.4912
patch 8.2.4912: using execute() to define a lambda doesn't work
Commit: https://github.com/vim/vim/commit/a7583c42cd6b64fd276a5d7bb0db5ce7bfafa730
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 7 21:14:05 2022 +0100
patch 8.2.4912: using execute() to define a lambda doesn't work
Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
Solution: Put the getline function in evalarg. (closes https://github.com/vim/vim/issues/10375)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 May 2022 22:15:03 +0200 |
parents | dc68c111cf7a |
children | 72e6073a2822 |
comparison
equal
deleted
inserted
replaced
28774:238e79812a48 | 28775:7fd3a9f05037 |
---|---|
15 int non_zero_arg(typval_T *argvars); | 15 int non_zero_arg(typval_T *argvars); |
16 buf_T *get_buf_arg(typval_T *arg); | 16 buf_T *get_buf_arg(typval_T *arg); |
17 win_T *get_optional_window(typval_T *argvars, int idx); | 17 win_T *get_optional_window(typval_T *argvars, int idx); |
18 void execute_redir_str(char_u *value, int value_len); | 18 void execute_redir_str(char_u *value, int value_len); |
19 void execute_cmds_from_string(char_u *str); | 19 void execute_cmds_from_string(char_u *str); |
20 char_u *get_list_line(int c, void *cookie, int indent, getline_opt_T options); | |
20 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off); | 21 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off); |
21 void f_exists(typval_T *argvars, typval_T *rettv); | 22 void f_exists(typval_T *argvars, typval_T *rettv); |
22 void f_has(typval_T *argvars, typval_T *rettv); | 23 void f_has(typval_T *argvars, typval_T *rettv); |
24 int dynamic_feature(char_u *feature); | |
23 void f_len(typval_T *argvars, typval_T *rettv); | 25 void f_len(typval_T *argvars, typval_T *rettv); |
24 int dynamic_feature(char_u *feature); | |
25 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); | 26 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); |
26 void range_list_materialize(list_T *list); | 27 void range_list_materialize(list_T *list); |
27 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, typval_T *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); | 28 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, typval_T *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); |
28 /* vim: set ft=c : */ | 29 /* vim: set ft=c : */ |