Mercurial > vim
comparison src/proto/vim9script.pro @ 26980:8796f1384750 v8.2.4019
patch 8.2.4019: Vim9: import mechanism is too complicated
Commit: https://github.com/vim/vim/commit/d5f400c607182db6d4fbe2964471d796277f67e8
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 6 21:10:28 2022 +0000
patch 8.2.4019: Vim9: import mechanism is too complicated
Problem: Vim9: import mechanism is too complicated.
Solution: Do not use the Javascript mechanism but a much simpler one.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Jan 2022 22:15:04 +0100 |
parents | 7351926fbe9e |
children | 140102677c12 |
comparison
equal
deleted
inserted
replaced
26979:2fb4968983af | 26980:8796f1384750 |
---|---|
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, 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); | 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 : */ |