From 09605cec03ea23e87ee285fd950a23ce8d23678d Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Fri, 20 Jun 2014 10:53:02 -0300 Subject: channel/msgpack_rpc: Refactor msgpack_rpc_notification/serialize_event - Generalize some argument names(event type -> event name, event data -> event arg) - Rename serialize_event to serialize_message - Rename msgpack_rpc_notification to msgpack_rpc_message - Extract the message type out of msgpack_rpc_message - Add 'id' parameter to msgpack_rpc_message/serialize_message to create messages that are not notifications --- src/nvim/os/channel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/os/channel.h') diff --git a/src/nvim/os/channel.h b/src/nvim/os/channel.h index f12d54cede..ce04abb76d 100644 --- a/src/nvim/os/channel.h +++ b/src/nvim/os/channel.h @@ -6,7 +6,7 @@ #include "nvim/api/private/defs.h" #include "nvim/vim.h" -#define EVENT_MAXLEN 512 +#define METHOD_MAXLEN 512 #ifdef INCLUDE_GENERATED_DECLARATIONS # include "os/channel.h.generated.h" -- cgit