aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-06-17 10:01:26 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-06-17 12:12:29 -0300
commit063d8a5773b8c0a1a3cac97c7b72c91d560264cf (patch)
treeaf56468dd52a1dccee19bb6dba83c5d12df45376 /src/nvim/api/buffer.c
parentd199d18159c624844c9c8052d1a98b91084fb803 (diff)
downloadrneovim-063d8a5773b8c0a1a3cac97c7b72c91d560264cf.tar.gz
rneovim-063d8a5773b8c0a1a3cac97c7b72c91d560264cf.tar.bz2
rneovim-063d8a5773b8c0a1a3cac97c7b72c91d560264cf.zip
msgpack_rpc: Deal with deserialization failures
There seems to be no way to deal with failures when calling `msgpack_unpacker_next`, so this reimplements that function as `msgpack_rpc_unpack`, which has an additional result for detecting failures. On top of that, we make use of the new function to properly return msgpack-rpc errors when something bad happens.
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions