From 8743ed43c87304888f4db805b15732a6e4c33fa2 Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Sun, 9 Oct 2016 10:15:46 -0700 Subject: [PATCH] Sync channel proto with vim --- src/MacVim/gui_macvim.m | 2 +- src/proto/channel.pro | 2 +- src/proto/gui_macvim.pro | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MacVim/gui_macvim.m b/src/MacVim/gui_macvim.m index 0931eb2cfd..c6a8a16df2 100644 --- a/src/MacVim/gui_macvim.m +++ b/src/MacVim/gui_macvim.m @@ -2263,7 +2263,7 @@ static int vimModMaskToEventModifierFlags(int mods) // -- Channel Support ------------------------------------------------------ void * -gui_macvim_add_channel(channel_T *channel, int part) +gui_macvim_add_channel(channel_T *channel, ch_part_T part) { dispatch_source_t s = dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, diff --git a/src/proto/channel.pro b/src/proto/channel.pro index 1ec46f3af6..2ff8908339 100644 --- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -67,6 +67,6 @@ char *job_status(job_T *job); void job_info(job_T *job, dict_T *dict); int job_stop(job_T *job, typval_T *argvars); #ifdef FEAT_GUI_MACVIM -void channel_read(channel_T *channel, int part, char *func); +void channel_read(channel_T *channel, ch_part_T part, char *func); #endif /* vim: set ft=c : */ diff --git a/src/proto/gui_macvim.pro b/src/proto/gui_macvim.pro index 79d0617577..8ec38e62ef 100644 --- a/src/proto/gui_macvim.pro +++ b/src/proto/gui_macvim.pro @@ -233,7 +233,7 @@ gui_mch_replace_dialog(exarg_T *eap); im_set_control(int enable); void * -gui_macvim_add_channel(channel_T *channel, int part); +gui_macvim_add_channel(channel_T *channel, ch_part_T part); void gui_macvim_remove_channel(void *cookie);