summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-04 15:54:08 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-04 15:54:08 +0200
commit7a40ff00edd35cc4313d74a43e7a7b67cd24372d (patch)
treef635249daa4d7c43565d33eaf6015a2b624c24f6 /src/proto
parent4197828dc666f2d258594f7f9461534d23cc50e4 (diff)
downloadvim-git-7a40ff00edd35cc4313d74a43e7a7b67cd24372d.tar.gz
patch 8.2.3100: Vim9: no error when using type with unknown number of argsv8.2.3100
Problem: Vim9: no error when using type with unknown number of arguments. Solution: Do not ignore argument count of -1. (closes #8492)
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/evalfunc.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/evalfunc.pro b/src/proto/evalfunc.pro
index c1ac55f5b..3faff292a 100644
--- a/src/proto/evalfunc.pro
+++ b/src/proto/evalfunc.pro
@@ -6,6 +6,7 @@ int find_internal_func(char_u *name);
int has_internal_func(char_u *name);
char *internal_func_name(int idx);
int internal_func_check_arg_types(type_T **types, int idx, int argcount, cctx_T *cctx);
+void internal_func_get_argcount(int idx, int *argcount, int *min_argcount);
type_T *internal_func_ret_type(int idx, int argcount, type_T **argtypes);
int internal_func_is_map(int idx);
int check_internal_func(int idx, int argcount);
@@ -21,7 +22,6 @@ void f_has(typval_T *argvars, typval_T *rettv);
int dynamic_feature(char_u *feature);
void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv);
void range_list_materialize(list_T *list);
-float_T vim_round(float_T f);
long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, typval_T *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit);
void f_string(typval_T *argvars, typval_T *rettv);
/* vim: set ft=c : */