Mercurial > vim
comparison src/proto/eval.pro @ 17377:cb008de2a6ec v8.1.1687
patch 8.1.1687: the evalfunc.c file is too big
commit https://github.com/vim/vim/commit/ecaa70ea29c269dd0dabd3cd5acdfa0ce42ccd54
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 14 14:55:39 2019 +0200
patch 8.1.1687: the evalfunc.c file is too big
Problem: The evalfunc.c file is too big.
Solution: Move testing support to a separate file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jul 2019 15:00:05 +0200 |
parents | 1d30eb64a7a2 |
children | cfdef48743ed |
comparison
equal
deleted
inserted
replaced
17376:da3299b8b5c0 | 17377:cb008de2a6ec |
---|---|
39 void ex_unlet(exarg_T *eap); | 39 void ex_unlet(exarg_T *eap); |
40 void ex_lockvar(exarg_T *eap); | 40 void ex_lockvar(exarg_T *eap); |
41 int do_unlet(char_u *name, int forceit); | 41 int do_unlet(char_u *name, int forceit); |
42 void del_menutrans_vars(void); | 42 void del_menutrans_vars(void); |
43 char_u *get_user_var_name(expand_T *xp, int idx); | 43 char_u *get_user_var_name(expand_T *xp, int idx); |
44 int pattern_match(char_u *pat, char_u *text, int ic); | |
44 int eval0(char_u *arg, typval_T *rettv, char_u **nextcmd, int evaluate); | 45 int eval0(char_u *arg, typval_T *rettv, char_u **nextcmd, int evaluate); |
45 int eval1(char_u **arg, typval_T *rettv, int evaluate); | 46 int eval1(char_u **arg, typval_T *rettv, int evaluate); |
46 int get_option_tv(char_u **arg, typval_T *rettv, int evaluate); | 47 int get_option_tv(char_u **arg, typval_T *rettv, int evaluate); |
47 char_u *partial_name(partial_T *pt); | 48 char_u *partial_name(partial_T *pt); |
48 void partial_unref(partial_T *pt); | 49 void partial_unref(partial_T *pt); |
65 int get_name_len(char_u **arg, char_u **alias, int evaluate, int verbose); | 66 int get_name_len(char_u **arg, char_u **alias, int evaluate, int verbose); |
66 char_u *find_name_end(char_u *arg, char_u **expr_start, char_u **expr_end, int flags); | 67 char_u *find_name_end(char_u *arg, char_u **expr_start, char_u **expr_end, int flags); |
67 int eval_isnamec(int c); | 68 int eval_isnamec(int c); |
68 int eval_isnamec1(int c); | 69 int eval_isnamec1(int c); |
69 void set_vim_var_nr(int idx, varnumber_T val); | 70 void set_vim_var_nr(int idx, varnumber_T val); |
71 typval_T *get_vim_var_tv(int idx); | |
70 varnumber_T get_vim_var_nr(int idx); | 72 varnumber_T get_vim_var_nr(int idx); |
71 char_u *get_vim_var_str(int idx); | 73 char_u *get_vim_var_str(int idx); |
72 list_T *get_vim_var_list(int idx); | 74 list_T *get_vim_var_list(int idx); |
73 dict_T *get_vim_var_dict(int idx); | 75 dict_T *get_vim_var_dict(int idx); |
74 void set_vim_var_char(int c); | 76 void set_vim_var_char(int c); |
127 int read_viminfo_varlist(vir_T *virp, int writing); | 129 int read_viminfo_varlist(vir_T *virp, int writing); |
128 void write_viminfo_varlist(FILE *fp); | 130 void write_viminfo_varlist(FILE *fp); |
129 int store_session_globals(FILE *fd); | 131 int store_session_globals(FILE *fd); |
130 void last_set_msg(sctx_T script_ctx); | 132 void last_set_msg(sctx_T script_ctx); |
131 void reset_v_option_vars(void); | 133 void reset_v_option_vars(void); |
132 void prepare_assert_error(garray_T *gap); | |
133 void assert_error(garray_T *gap); | 134 void assert_error(garray_T *gap); |
134 int assert_equal_common(typval_T *argvars, assert_type_T atype); | |
135 int assert_equalfile(typval_T *argvars); | |
136 int assert_match_common(typval_T *argvars, assert_type_T atype); | |
137 int assert_inrange(typval_T *argvars); | |
138 int assert_bool(typval_T *argvars, int isTrue); | |
139 int assert_report(typval_T *argvars); | |
140 int assert_exception(typval_T *argvars); | |
141 int assert_beeps(typval_T *argvars); | |
142 int assert_fails(typval_T *argvars); | |
143 void fill_assert_error(garray_T *gap, typval_T *opt_msg_tv, char_u *exp_str, typval_T *exp_tv, typval_T *got_tv, assert_type_T atype); | |
144 int typval_compare(typval_T *typ1, typval_T *typ2, exptype_T type, int type_is, int ic); | 135 int typval_compare(typval_T *typ1, typval_T *typ2, exptype_T type, int type_is, int ic); |
145 char_u *typval_tostring(typval_T *arg); | 136 char_u *typval_tostring(typval_T *arg); |
146 int var_exists(char_u *var); | 137 int var_exists(char_u *var); |
147 int modify_fname(char_u *src, int tilde_file, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); | 138 int modify_fname(char_u *src, int tilde_file, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); |
148 char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, typval_T *expr, char_u *flags); | 139 char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, typval_T *expr, char_u *flags); |