From e2143674ae20fbadbea004bd54d6f5dc32b83803 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Sun, 31 Aug 2014 10:46:28 -0300 Subject: deps: Update to the experimental msgpack v5 branch Using msgpack v5 will let nvim be more compatible with msgpack libraries for other platforms. This also replaces "raw" references by "bin" which is the new name for msgpack binary data type --- scripts/msgpack-gen.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/msgpack-gen.lua b/scripts/msgpack-gen.lua index 8940cc72f6..43459743e2 100644 --- a/scripts/msgpack-gen.lua +++ b/scripts/msgpack-gen.lua @@ -277,9 +277,9 @@ Object msgpack_rpc_dispatch(uint64_t channel_id, msgpack_object method = req->via.array.ptr[2]; uint64_t method_id = method.via.u64; - if (method.type == MSGPACK_OBJECT_RAW) { + if (method.type == MSGPACK_OBJECT_BIN) { char method_name[]]..(max_fname_len + 1)..[[]; - xstrlcpy(method_name, method.via.raw.ptr, min(method.via.raw.size, ]] ..(max_fname_len)..[[) + 1); + xstrlcpy(method_name, method.via.bin.ptr, min(method.via.bin.size, ]] ..(max_fname_len)..[[) + 1); method_id = map_get(cstr_t, uint64_t)(rpc_method_ids, method_name); if (!method_id) { method_id = UINT64_MAX; -- cgit