comparison src/proto/evalfunc.pro @ 28287:dc68c111cf7a v8.2.4669

patch 8.2.4669: in compiled code len('string') is not inlined Commit: https://github.com/vim/vim/commit/58f331a05f5b7bdddf04e68b6e51a827fd0c43f0 Author: LemonBoy <thatlemon@gmail.com> Date: Sat Apr 2 21:59:06 2022 +0100 patch 8.2.4669: in compiled code len('string') is not inlined Problem: In compiled code len('string') is not inlined. Solution: Compute the length at compile time if possible. (closes https://github.com/vim/vim/issues/10065)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Apr 2022 23:00:05 +0200
parents 4cea92e99a5a
children 7fd3a9f05037
comparison
equal deleted inserted replaced
28286:68700da20991 28287:dc68c111cf7a
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 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off); 20 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off);
21 void f_exists(typval_T *argvars, typval_T *rettv); 21 void f_exists(typval_T *argvars, typval_T *rettv);
22 void f_has(typval_T *argvars, typval_T *rettv); 22 void f_has(typval_T *argvars, typval_T *rettv);
23 void f_len(typval_T *argvars, typval_T *rettv);
23 int dynamic_feature(char_u *feature); 24 int dynamic_feature(char_u *feature);
24 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); 25 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv);
25 void range_list_materialize(list_T *list); 26 void range_list_materialize(list_T *list);
26 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); 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);
27 /* vim: set ft=c : */ 28 /* vim: set ft=c : */