Mercurial > vim
comparison src/proto/typval.pro @ 21120:4d844a65183d v8.2.1111
patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
Commit: https://github.com/vim/vim/commit/9a78e6df17033223ebdf499f2b02b2538601c52d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 1 18:29:55 2020 +0200
patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
Problem: Inconsistent naming of get_list_tv() and eval_dict().
Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
eval_string(), eval_lit_string() and a few others.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Jul 2020 18:45:04 +0200 |
parents | f502455965c0 |
children | 727820154b1a |
comparison
equal
deleted
inserted
replaced
21119:20dcea08f37b | 21120:4d844a65183d |
---|---|
2 typval_T *alloc_tv(void); | 2 typval_T *alloc_tv(void); |
3 typval_T *alloc_string_tv(char_u *s); | 3 typval_T *alloc_string_tv(char_u *s); |
4 void free_tv(typval_T *varp); | 4 void free_tv(typval_T *varp); |
5 void clear_tv(typval_T *varp); | 5 void clear_tv(typval_T *varp); |
6 void init_tv(typval_T *varp); | 6 void init_tv(typval_T *varp); |
7 int tv_check_lock(typval_T *tv, char_u *name, int use_gettext); | |
8 void copy_tv(typval_T *from, typval_T *to); | |
9 int typval_compare(typval_T *typ1, typval_T *typ2, exptype_T type, int ic); | |
10 char_u *typval_tostring(typval_T *arg); | |
11 int tv_islocked(typval_T *tv); | |
12 int tv_equal(typval_T *tv1, typval_T *tv2, int ic, int recursive); | |
13 int get_option_tv(char_u **arg, typval_T *rettv, int evaluate); | |
14 int get_number_tv(char_u **arg, typval_T *rettv, int evaluate, int want_string); | |
15 int get_string_tv(char_u **arg, typval_T *rettv, int evaluate); | |
16 int get_lit_string_tv(char_u **arg, typval_T *rettv, int evaluate); | |
17 char_u *tv2string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID); | |
18 int get_env_tv(char_u **arg, typval_T *rettv, int evaluate); | |
19 varnumber_T tv_get_number(typval_T *varp); | 7 varnumber_T tv_get_number(typval_T *varp); |
20 varnumber_T tv_get_number_chk(typval_T *varp, int *denote); | 8 varnumber_T tv_get_number_chk(typval_T *varp, int *denote); |
21 float_T tv_get_float(typval_T *varp); | 9 float_T tv_get_float(typval_T *varp); |
22 char_u *tv_get_string(typval_T *varp); | 10 char_u *tv_get_string(typval_T *varp); |
23 char_u *tv_get_string_buf(typval_T *varp, char_u *buf); | 11 char_u *tv_get_string_buf(typval_T *varp, char_u *buf); |
24 char_u *tv_get_string_chk(typval_T *varp); | 12 char_u *tv_get_string_chk(typval_T *varp); |
25 char_u *tv_get_string_buf_chk(typval_T *varp, char_u *buf); | 13 char_u *tv_get_string_buf_chk(typval_T *varp, char_u *buf); |
14 char_u *tv_stringify(typval_T *varp, char_u *buf); | |
15 int tv_check_lock(typval_T *tv, char_u *name, int use_gettext); | |
16 void copy_tv(typval_T *from, typval_T *to); | |
17 int typval_compare(typval_T *typ1, typval_T *typ2, exptype_T type, int ic); | |
18 char_u *typval_tostring(typval_T *arg); | |
19 int tv_islocked(typval_T *tv); | |
20 int tv_equal(typval_T *tv1, typval_T *tv2, int ic, int recursive); | |
21 int eval_option(char_u **arg, typval_T *rettv, int evaluate); | |
22 int eval_number(char_u **arg, typval_T *rettv, int evaluate, int want_string); | |
23 int eval_string(char_u **arg, typval_T *rettv, int evaluate); | |
24 int eval_lit_string(char_u **arg, typval_T *rettv, int evaluate); | |
25 char_u *tv2string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID); | |
26 int eval_env_var(char_u **arg, typval_T *rettv, int evaluate); | |
26 linenr_T tv_get_lnum(typval_T *argvars); | 27 linenr_T tv_get_lnum(typval_T *argvars); |
27 linenr_T tv_get_lnum_buf(typval_T *argvars, buf_T *buf); | 28 linenr_T tv_get_lnum_buf(typval_T *argvars, buf_T *buf); |
28 buf_T *tv_get_buf(typval_T *tv, int curtab_only); | 29 buf_T *tv_get_buf(typval_T *tv, int curtab_only); |
29 char_u *tv_stringify(typval_T *varp, char_u *buf); | |
30 /* vim: set ft=c : */ | 30 /* vim: set ft=c : */ |