comparison src/proto/typval.pro @ 22025:71f886a48ef5 v8.2.1562

patch 8.2.1562: Vim9: error when using "%" where a buffer is expected Commit: https://github.com/vim/vim/commit/3767e3a3302d745349eff8cfe45411f03e13de43 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 1 23:06:01 2020 +0200 patch 8.2.1562: Vim9: error when using "%" where a buffer is expected Problem: Vim9: error when using "%" where a buffer is expected. Solution: Add tv_get_buf_from_arg(). (closes https://github.com/vim/vim/issues/6814)
author Bram Moolenaar <Bram@vim.org>
date Tue, 01 Sep 2020 23:15:03 +0200
parents cd8dafe937ba
children 5f08d4a42898
comparison
equal deleted inserted replaced
22024:dd2ca50d7e0a 22025:71f886a48ef5
27 char_u *tv2string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID); 27 char_u *tv2string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID);
28 int eval_env_var(char_u **arg, typval_T *rettv, int evaluate); 28 int eval_env_var(char_u **arg, typval_T *rettv, int evaluate);
29 linenr_T tv_get_lnum(typval_T *argvars); 29 linenr_T tv_get_lnum(typval_T *argvars);
30 linenr_T tv_get_lnum_buf(typval_T *argvars, buf_T *buf); 30 linenr_T tv_get_lnum_buf(typval_T *argvars, buf_T *buf);
31 buf_T *tv_get_buf(typval_T *tv, int curtab_only); 31 buf_T *tv_get_buf(typval_T *tv, int curtab_only);
32 buf_T *tv_get_buf_from_arg(typval_T *tv);
32 /* vim: set ft=c : */ 33 /* vim: set ft=c : */