comparison src/proto/vim9script.pro @ 27049:140102677c12 v8.2.4053

patch 8.2.4053: Vim9: autoload mechanism doesn't fully work yet Commit: https://github.com/vim/vim/commit/fe2ef0b2cda0b25c45bd9e320f8b77931ee8ef2e Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 10 18:08:00 2022 +0000 patch 8.2.4053: Vim9: autoload mechanism doesn't fully work yet Problem: Vim9: autoload mechanism doesn't fully work yet. Solution: Define functions and variables with their autoload name, add the prefix when calling a function, find the variable in the table of script variables.
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Jan 2022 19:15:04 +0100
parents 8796f1384750
children 42d0279c6e7c
comparison
equal deleted inserted replaced
27048:80bbad68ec27 27049:140102677c12
11 void free_imports_and_script_vars(int sid); 11 void free_imports_and_script_vars(int sid);
12 void mark_imports_for_reload(int sid); 12 void mark_imports_for_reload(int sid);
13 void ex_import(exarg_T *eap); 13 void ex_import(exarg_T *eap);
14 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, int verbose); 14 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, int verbose);
15 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); 15 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg);
16 void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type, int do_member); 16 void update_vim9_script_var(int create, dictitem_T *di, char_u *name, int flags, typval_T *tv, type_T **type, int do_member);
17 void hide_script_var(scriptitem_T *si, int idx, int func_defined); 17 void hide_script_var(scriptitem_T *si, int idx, int func_defined);
18 svar_T *find_typval_in_script(typval_T *dest, scid_T sid); 18 svar_T *find_typval_in_script(typval_T *dest, scid_T sid);
19 int check_script_var_type(svar_T *sv, typval_T *value, char_u *name, where_T where); 19 int check_script_var_type(svar_T *sv, typval_T *value, char_u *name, where_T where);
20 int check_reserved_name(char_u *name); 20 int check_reserved_name(char_u *name);
21 /* vim: set ft=c : */ 21 /* vim: set ft=c : */