From b280308ac649da61e2a0f40a222eae21af5352c9 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Mon, 20 Oct 2014 07:35:10 -0300 Subject: msgpack-rpc: Create subdirectory for msgpack-rpc modules Create the msgpack_rpc subdirectory and move all modules that deal with msgpack-rpc to it. Also merge msgpack_rpc.c into msgpack_rpc/helpers.c --- scripts/msgpack-gen.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/msgpack-gen.lua b/scripts/msgpack-gen.lua index 916597afda..856b61630f 100644 --- a/scripts/msgpack-gen.lua +++ b/scripts/msgpack-gen.lua @@ -92,8 +92,8 @@ output:write([[ #include "nvim/map.h" #include "nvim/log.h" #include "nvim/vim.h" -#include "nvim/os/msgpack_rpc.h" -#include "nvim/os/msgpack_rpc_helpers.h" +#include "nvim/msgpack_rpc/helpers.h" +#include "nvim/msgpack_rpc/defs.h" #include "nvim/api/private/helpers.h" #include "nvim/api/private/defs.h" ]]) @@ -249,7 +249,7 @@ end output:write([[ static Map(String, rpc_method_handler_fn) *methods = NULL; -void msgpack_rpc_init(void) +void msgpack_rpc_init_method_table(void) { methods = map_new(String, rpc_method_handler_fn)(); -- cgit