summaryrefslogtreecommitdiffstats
path: root/src/proto/vim9script.pro
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 08:50:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 08:50:31 +0000
commitaed8ce9da277f5ecffe968b324f242c41c3b752a (patch)
treed2e538394cb7a8a7c42a4aac6ccf1a8e3256999b /src/proto/vim9script.pro
parentInitial commit. (diff)
downloadvim-upstream.tar.xz
vim-upstream.zip
Adding upstream version 2:9.0.1378.upstream/2%9.0.1378upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/proto/vim9script.pro')
-rw-r--r--src/proto/vim9script.pro23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/proto/vim9script.pro b/src/proto/vim9script.pro
new file mode 100644
index 0000000..9a0bcdf
--- /dev/null
+++ b/src/proto/vim9script.pro
@@ -0,0 +1,23 @@
+/* vim9script.c */
+int in_vim9script(void);
+int in_old_script(int max_version);
+int current_script_is_vim9(void);
+void clear_vim9_scriptlocal_vars(int sid);
+void ex_vim9script(exarg_T *eap);
+int not_in_vim9(exarg_T *eap);
+int vim9_bad_comment(char_u *p);
+int vim9_comment_start(char_u *p);
+void ex_incdec(exarg_T *eap);
+void ex_export(exarg_T *eap);
+void free_imports_and_script_vars(int sid);
+void mark_imports_for_reload(int sid);
+void ex_import(exarg_T *eap);
+void import_check_sourced_sid(int *sid);
+int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, cstack_T *cstack, int verbose);
+char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg);
+void update_vim9_script_var(int create, dictitem_T *di, char_u *name, int flags, typval_T *tv, type_T **type, int do_member);
+void hide_script_var(scriptitem_T *si, int idx, int func_defined);
+svar_T *find_typval_in_script(typval_T *dest, scid_T sid, int must_find);
+int check_script_var_type(svar_T *sv, typval_T *value, char_u *name, where_T where);
+int check_reserved_name(char_u *name, cctx_T *cctx);
+/* vim: set ft=c : */