Mercurial > vim
view src/proto/json.pro @ 8921:c3e7cc135754 v7.4.1747
commit https://github.com/vim/vim/commit/fe4b18640656ddea41f60cf7a76956c9cc5494d6
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 15 21:47:54 2016 +0200
patch 7.4.1747
Problem: Coverity: missing check for NULL pointer.
Solution: Check for out of memory.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 15 Apr 2016 22:00:07 +0200 |
parents | 45ea5ebf3a98 |
children | dfd87ef822aa |
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_all(js_read_T *reader, typval_T *res, int options); int json_decode(js_read_T *reader, typval_T *res, int options); int json_find_end(js_read_T *reader, int options); /* vim: set ft=c : */