Mercurial > vim
comparison src/proto/typval.pro @ 24210:083f07f99e20 v8.2.2646
patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
Commit: https://github.com/vim/vim/commit/f28f2ac425600b88da0bdcc12a82cd620f575681
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 22 22:21:26 2021 +0100
patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
Problem: Vim9: error for not using string doesn't mention argument.
Solution: Add argument number.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Mar 2021 22:30:03 +0100 |
parents | d12ef361d9de |
children | 35603c7991d7 |
comparison
equal
deleted
inserted
replaced
24209:3422237ca50e | 24210:083f07f99e20 |
---|---|
7 varnumber_T tv_get_number(typval_T *varp); | 7 varnumber_T tv_get_number(typval_T *varp); |
8 varnumber_T tv_get_number_chk(typval_T *varp, int *denote); | 8 varnumber_T tv_get_number_chk(typval_T *varp, int *denote); |
9 varnumber_T tv_get_bool(typval_T *varp); | 9 varnumber_T tv_get_bool(typval_T *varp); |
10 varnumber_T tv_get_bool_chk(typval_T *varp, int *denote); | 10 varnumber_T tv_get_bool_chk(typval_T *varp, int *denote); |
11 float_T tv_get_float(typval_T *varp); | 11 float_T tv_get_float(typval_T *varp); |
12 int check_for_string(typval_T *tv); | 12 int check_for_string(typval_T *tv, int arg); |
13 int check_for_nonempty_string(typval_T *tv); | 13 int check_for_nonempty_string(typval_T *tv, int arg); |
14 char_u *tv_get_string(typval_T *varp); | 14 char_u *tv_get_string(typval_T *varp); |
15 char_u *tv_get_string_strict(typval_T *varp); | 15 char_u *tv_get_string_strict(typval_T *varp); |
16 char_u *tv_get_string_buf(typval_T *varp, char_u *buf); | 16 char_u *tv_get_string_buf(typval_T *varp, char_u *buf); |
17 char_u *tv_get_string_chk(typval_T *varp); | 17 char_u *tv_get_string_chk(typval_T *varp); |
18 char_u *tv_get_string_buf_chk(typval_T *varp, char_u *buf); | 18 char_u *tv_get_string_buf_chk(typval_T *varp, char_u *buf); |