Mercurial > vim
view src/proto/json.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 | 0f7ae8010787 |
children | 85b07a942518 |
line wrap: on
line source
/* json.c */ char_u *json_encode(typval_T *val, int options); char_u *json_encode_nr_expr(int nr, typval_T *val, int options); int json_decode(js_read_T *reader, typval_T *res, int options); int json_find_end(js_read_T *reader, int options); void f_js_decode(typval_T *argvars, typval_T *rettv); void f_js_encode(typval_T *argvars, typval_T *rettv); void f_json_decode(typval_T *argvars, typval_T *rettv); void f_json_encode(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */