comparison src/proto/channel.pro @ 9007:d5c6f1c5cd28 v7.4.1789

commit https://github.com/vim/vim/commit/437905c25d4cedfa16d0f87392e4a000d22362b7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 26 19:01:05 2016 +0200 patch 7.4.1789 Problem: Cannot use ch_read() in the close callback. Solution: Do not discard the channel if there is readahead. Do not discard readahead if there is a close callback.
author Christian Brabandt <cb@256bit.org>
date Tue, 26 Apr 2016 19:15:06 +0200
parents 072556995a8e
children 87c2e43a4a12
comparison
equal deleted inserted replaced
9006:ef8e23332fa8 9007:d5c6f1c5cd28
46 ch_mode_T channel_get_mode(channel_T *channel, int part); 46 ch_mode_T channel_get_mode(channel_T *channel, int part);
47 int channel_get_timeout(channel_T *channel, int part); 47 int channel_get_timeout(channel_T *channel, int part);
48 void clear_job_options(jobopt_T *opt); 48 void clear_job_options(jobopt_T *opt);
49 void free_job_options(jobopt_T *opt); 49 void free_job_options(jobopt_T *opt);
50 int get_job_options(typval_T *tv, jobopt_T *opt, int supported); 50 int get_job_options(typval_T *tv, jobopt_T *opt, int supported);
51 channel_T *get_channel_arg(typval_T *tv, int check_open); 51 channel_T *get_channel_arg(typval_T *tv, int check_open, int reading, int part);
52 void job_unref(job_T *job); 52 void job_unref(job_T *job);
53 int free_unused_jobs_contents(int copyID, int mask); 53 int free_unused_jobs_contents(int copyID, int mask);
54 void free_unused_jobs(int copyID, int mask); 54 void free_unused_jobs(int copyID, int mask);
55 void job_set_options(job_T *job, jobopt_T *opt); 55 void job_set_options(job_T *job, jobopt_T *opt);
56 void job_stop_on_exit(void); 56 void job_stop_on_exit(void);