aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-06-20 10:53:05 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-06-24 13:02:24 -0300
commitea7a389ec77c0031160ce860129101c603d8e0ec (patch)
tree64b415d9d820a170e82fb22d2315d3817e07b175 /src/nvim/api/private/helpers.c
parent09605cec03ea23e87ee285fd950a23ce8d23678d (diff)
downloadrneovim-ea7a389ec77c0031160ce860129101c603d8e0ec.tar.gz
rneovim-ea7a389ec77c0031160ce860129101c603d8e0ec.tar.bz2
rneovim-ea7a389ec77c0031160ce860129101c603d8e0ec.zip
channel: Implement the 'channel_send_call' function
This function is used to send RPC calls to clients. In contrast to `channel_send_event`, this function will block until the client sends a response(But it will continue processing requests from that client). The RPC call stack has a maximum depth of 20.
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r--src/nvim/api/private/helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index 30301e9368..d5ebc93f7c 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -341,7 +341,7 @@ String cstr_to_string(const char *str)
};
}
-static bool object_to_vim(Object obj, typval_T *tv, Error *err)
+bool object_to_vim(Object obj, typval_T *tv, Error *err)
{
tv->v_type = VAR_UNKNOWN;
tv->v_lock = 0;