diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-06 21:10:28 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-06 21:10:28 +0000 |
commit | d5f400c607182db6d4fbe2964471d796277f67e8 (patch) | |
tree | 285e08dceecf77069c17d1c513e3c918140b18dc /src/proto/evalvars.pro | |
parent | 18f4740f043b353abe47b7a00131317052457686 (diff) | |
download | vim-git-d5f400c607182db6d4fbe2964471d796277f67e8.tar.gz |
patch 8.2.4019: Vim9: import mechanism is too complicatedv8.2.4019
Problem: Vim9: import mechanism is too complicated.
Solution: Do not use the Javascript mechanism but a much simpler one.
Diffstat (limited to 'src/proto/evalvars.pro')
-rw-r--r-- | src/proto/evalvars.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/evalvars.pro b/src/proto/evalvars.pro index 9fb2c77b5..de1f7a1f3 100644 --- a/src/proto/evalvars.pro +++ b/src/proto/evalvars.pro @@ -57,7 +57,7 @@ void set_reg_var(int c); char_u *v_exception(char_u *oldval); char_u *v_throwpoint(char_u *oldval); char_u *set_cmdarg(exarg_T *eap, char_u *oldarg); -int eval_variable(char_u *name, int len, typval_T *rettv, dictitem_T **dip, int flags); +int eval_variable(char_u *name, int len, scid_T sid, typval_T *rettv, dictitem_T **dip, int flags); void check_vars(char_u *name, int len); dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); @@ -72,7 +72,7 @@ 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, type_T *type_arg, typval_T *tv_arg, int copy, int flags_arg, int var_idx); +void set_var_const(char_u *name, scid_T sid, type_T *type_arg, typval_T *tv_arg, int copy, int flags_arg, int var_idx); int var_check_permission(dictitem_T *di, char_u *name); int var_check_ro(int flags, char_u *name, int use_gettext); int var_check_lock(int flags, char_u *name, int use_gettext); |