Mercurial > vim
comparison src/proto/typval.pro @ 24246:35603c7991d7 v8.2.2664
patch 8.2.2664: Vim9: not enough function arguments checked for string
Commit: https://github.com/vim/vim/commit/32105ae88f3aa6a6af30336f0bc9f8eb81292cd7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 27 18:59:25 2021 +0100
patch 8.2.2664: Vim9: not enough function arguments checked for string
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in balloon functions. Refactor function arguments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Mar 2021 19:00:04 +0100 |
parents | 083f07f99e20 |
children | eafc0e07b188 |
comparison
equal
deleted
inserted
replaced
24245:5e22bf689c9f | 24246:35603c7991d7 |
---|---|
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, int arg); | 12 int check_for_string_arg(typval_T *args, int idx); |
13 int check_for_nonempty_string(typval_T *tv, int arg); | 13 int check_for_nonempty_string_arg(typval_T *args, int idx); |
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); |