Mercurial > vim
annotate src/proto/json.pro @ 30769:ae10b91ac6b3 v9.0.0719
patch 9.0.0719: too many delete() calls in tests
Commit: https://github.com/vim/vim/commit/56564964e6d0956c29687e8a10cb94fe42f5c097
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 10 22:39:42 2022 +0100
patch 9.0.0719: too many delete() calls in tests
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 10 Oct 2022 23:45:04 +0200 |
parents | 85b07a942518 |
children |
rev | line source |
---|---|
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 /* json.c */ |
7967
45ea5ebf3a98
commit https://github.com/vim/vim/commit/595e64e259faefb330866852e1b9f6168544572a
Christian Brabandt <cb@256bit.org>
parents:
7883
diff
changeset
|
2 char_u *json_encode(typval_T *val, int options); |
45ea5ebf3a98
commit https://github.com/vim/vim/commit/595e64e259faefb330866852e1b9f6168544572a
Christian Brabandt <cb@256bit.org>
parents:
7883
diff
changeset
|
3 char_u *json_encode_nr_expr(int nr, typval_T *val, int options); |
28244
85b07a942518
patch 8.2.4648: handling LSP messages is a bit slow
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
4 char_u *json_encode_lsp_msg(typval_T *val); |
7967
45ea5ebf3a98
commit https://github.com/vim/vim/commit/595e64e259faefb330866852e1b9f6168544572a
Christian Brabandt <cb@256bit.org>
parents:
7883
diff
changeset
|
5 int json_decode(js_read_T *reader, typval_T *res, int options); |
45ea5ebf3a98
commit https://github.com/vim/vim/commit/595e64e259faefb330866852e1b9f6168544572a
Christian Brabandt <cb@256bit.org>
parents:
7883
diff
changeset
|
6 int json_find_end(js_read_T *reader, int options); |
17472
dfd87ef822aa
patch 8.1.1734: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
7967
diff
changeset
|
7 void f_js_decode(typval_T *argvars, typval_T *rettv); |
dfd87ef822aa
patch 8.1.1734: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
7967
diff
changeset
|
8 void f_js_encode(typval_T *argvars, typval_T *rettv); |
dfd87ef822aa
patch 8.1.1734: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
7967
diff
changeset
|
9 void f_json_decode(typval_T *argvars, typval_T *rettv); |
dfd87ef822aa
patch 8.1.1734: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
7967
diff
changeset
|
10 void f_json_encode(typval_T *argvars, typval_T *rettv); |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 /* vim: set ft=c : */ |