Mercurial > vim
diff src/proto/evalvars.pro @ 17873:d50a5faa75bd v8.1.1933
patch 8.1.1933: the eval.c file is too big
Commit: https://github.com/vim/vim/commit/0522ba0359c96a8c2a4fc8fca0d3b58e49dda759
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 27 22:48:30 2019 +0200
patch 8.1.1933: the eval.c file is too big
Problem: The eval.c file is too big.
Solution: Move code related to variables to evalvars.c. (Yegappan
Lakshmanan, closes #4868)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 27 Aug 2019 23:00:04 +0200 |
parents | |
children | 5e2d8840da11 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/proto/evalvars.pro @@ -0,0 +1,29 @@ +/* evalvars.c */ +void ex_let(exarg_T *eap); +void ex_const(exarg_T *eap); +int ex_let_vars(char_u *arg_start, typval_T *tv, int copy, int semicolon, int var_count, int is_const, char_u *op); +char_u *skip_var_list(char_u *arg, int *var_count, int *semicolon); +void list_hashtable_vars(hashtab_T *ht, char *prefix, int empty, int *first); +void ex_unlet(exarg_T *eap); +void ex_lockvar(exarg_T *eap); +int do_unlet(char_u *name, int forceit); +int get_var_tv(char_u *name, int len, typval_T *rettv, dictitem_T **dip, int verbose, int no_autoload); +char_u *get_var_value(char_u *name); +void vars_clear(hashtab_T *ht); +void vars_clear_ext(hashtab_T *ht, int free_val); +void delete_var(hashtab_T *ht, hashitem_T *hi); +void set_var(char_u *name, typval_T *tv, int copy); +void set_var_const(char_u *name, typval_T *tv, int copy, int is_const); +int var_check_ro(int flags, char_u *name, int use_gettext); +int var_check_fixed(int flags, char_u *name, int use_gettext); +int var_check_func_name(char_u *name, int new_var); +int var_check_lock(int lock, char_u *name, int use_gettext); +int valid_varname(char_u *varname); +int var_exists(char_u *var); +void f_gettabvar(typval_T *argvars, typval_T *rettv); +void f_gettabwinvar(typval_T *argvars, typval_T *rettv); +void f_getwinvar(typval_T *argvars, typval_T *rettv); +void f_settabvar(typval_T *argvars, typval_T *rettv); +void f_settabwinvar(typval_T *argvars, typval_T *rettv); +void f_setwinvar(typval_T *argvars, typval_T *rettv); +/* vim: set ft=c : */