aboutsummaryrefslogtreecommitdiff
path: root/scripts/msgpack-gen.lua
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-20 07:35:10 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-21 11:05:49 -0300
commitb280308ac649da61e2a0f40a222eae21af5352c9 (patch)
tree1ef8433c2aa55e1a5013c05836dc0cbf931a101c /scripts/msgpack-gen.lua
parent6e268cd0d40a3652a68b486bdbb421d39295ab48 (diff)
downloadrneovim-b280308ac649da61e2a0f40a222eae21af5352c9.tar.gz
rneovim-b280308ac649da61e2a0f40a222eae21af5352c9.tar.bz2
rneovim-b280308ac649da61e2a0f40a222eae21af5352c9.zip
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
Diffstat (limited to 'scripts/msgpack-gen.lua')
-rw-r--r--scripts/msgpack-gen.lua6
1 files changed, 3 insertions, 3 deletions
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)();