Mercurial > vim
comparison src/proto/evalfunc.pro @ 20587:f502455965c0 v8.2.0847
patch 8.2.0847: typval related code is spread out
Commit: https://github.com/vim/vim/commit/367d59e6ba65cf554d167933775fa17e40dcc6a7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 30 17:06:14 2020 +0200
patch 8.2.0847: typval related code is spread out
Problem: Typval related code is spread out.
Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6093)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 May 2020 17:15:03 +0200 |
parents | 06f29b6ea04a |
children | eabe2c1444ea |
comparison
equal
deleted
inserted
replaced
20586:fed0050be1a1 | 20587:f502455965c0 |
---|---|
8 int check_internal_func(int idx, int argcount); | 8 int check_internal_func(int idx, int argcount); |
9 int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv); | 9 int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv); |
10 void call_internal_func_by_idx(int idx, typval_T *argvars, typval_T *rettv); | 10 void call_internal_func_by_idx(int idx, typval_T *argvars, typval_T *rettv); |
11 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv); | 11 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv); |
12 int non_zero_arg(typval_T *argvars); | 12 int non_zero_arg(typval_T *argvars); |
13 linenr_T tv_get_lnum(typval_T *argvars); | |
14 linenr_T tv_get_lnum_buf(typval_T *argvars, buf_T *buf); | |
15 buf_T *tv_get_buf(typval_T *tv, int curtab_only); | |
16 buf_T *get_buf_arg(typval_T *arg); | 13 buf_T *get_buf_arg(typval_T *arg); |
17 win_T *get_optional_window(typval_T *argvars, int idx); | 14 win_T *get_optional_window(typval_T *argvars, int idx); |
18 void execute_redir_str(char_u *value, int value_len); | 15 void execute_redir_str(char_u *value, int value_len); |
19 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off); | 16 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off); |
20 void f_has(typval_T *argvars, typval_T *rettv); | 17 void f_has(typval_T *argvars, typval_T *rettv); |