Mercurial > vim
comparison src/proto/evalfunc.pro @ 31742:f578bef02249 v9.0.1203
patch 9.0.1203: return type of values() is always list<any>
Commit: https://github.com/vim/vim/commit/32517c4c14ed3f9240fcd5b7c01d0ca2e586f7e4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 15 18:17:12 2023 +0000
patch 9.0.1203: return type of values() is always list<any>
Problem: Return type of values() is always list<any>.
Solution: Use the member type if possible. (issue https://github.com/vim/vim/issues/11822)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 Jan 2023 19:30:04 +0100 |
parents | 72e6073a2822 |
children | 16025ef158bf |
comparison
equal
deleted
inserted
replaced
31741:47e20df6fce5 | 31742:f578bef02249 |
---|---|
5 int find_internal_func(char_u *name); | 5 int find_internal_func(char_u *name); |
6 int has_internal_func(char_u *name); | 6 int has_internal_func(char_u *name); |
7 char *internal_func_name(int idx); | 7 char *internal_func_name(int idx); |
8 int internal_func_check_arg_types(type2_T *types, int idx, int argcount, cctx_T *cctx); | 8 int internal_func_check_arg_types(type2_T *types, int idx, int argcount, cctx_T *cctx); |
9 void internal_func_get_argcount(int idx, int *argcount, int *min_argcount); | 9 void internal_func_get_argcount(int idx, int *argcount, int *min_argcount); |
10 type_T *internal_func_ret_type(int idx, int argcount, type2_T *argtypes, type_T **decl_type); | 10 type_T *internal_func_ret_type(int idx, int argcount, type2_T *argtypes, type_T **decl_type, garray_T *type_gap); |
11 int internal_func_is_map(int idx); | 11 int internal_func_is_map(int idx); |
12 int check_internal_func(int idx, int argcount); | 12 int check_internal_func(int idx, int argcount); |
13 int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv); | 13 int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv); |
14 void call_internal_func_by_idx(int idx, typval_T *argvars, typval_T *rettv); | 14 void call_internal_func_by_idx(int idx, typval_T *argvars, typval_T *rettv); |
15 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv); | 15 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv); |