diff src/structs.h @ 8755:7038ec89d1fd v7.4.1666

commit https://github.com/vim/vim/commit/46c00a6565b8f1f4b7b1041d03eaceaf6ffc4aee Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 28 14:11:42 2016 +0200 patch 7.4.1666 Problem: When reading JSON from a channel all readahead is used. Solution: Use the fill function to reduce overhead.
author Christian Brabandt <cb@256bit.org>
date Mon, 28 Mar 2016 14:15:05 +0200
parents f1840a719771
children f8707ec9efe4
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -2971,6 +2971,7 @@ struct js_reader
 				/* function to fill the buffer or NULL;
                                  * return TRUE when the buffer was filled */
     void	*js_cookie;	/* can be used by js_fill */
+    int		js_cookie_arg;	/* can be used by js_fill */
 };
 typedef struct js_reader js_read_T;