Mercurial > vim
view src/proto/json.pro @ 27774:89b1bc6fd40a v8.2.4413
patch 8.2.4413: Vim9: Coverity warns for using NULL pointer
Commit: https://github.com/vim/vim/commit/56acd1f8ed4d86e92684f90b3b8e0e9a355208d1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 18 13:24:52 2022 +0000
patch 8.2.4413: Vim9: Coverity warns for using NULL pointer
Problem: Vim9: Coverity warns for using NULL pointer.
Solution: Give an internal error when funcref function can't be found.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Feb 2022 14:30:02 +0100 |
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 : */