api: call multiple methods atomically (useful in async contexts)

remove unused response_id parameter of handle_nvim_... helpers
This commit is contained in:
Björn Linse
2016-04-13 16:37:09 +02:00
parent 9d4fcec7c6
commit f6968dc0f7
9 changed files with 184 additions and 10 deletions

View File

@@ -452,7 +452,7 @@ static void on_request_event(void **argv)
Array args = e->args;
uint64_t request_id = e->request_id;
Error error = ERROR_INIT;
Object result = handler.fn(channel->id, request_id, args, &error);
Object result = handler.fn(channel->id, args, &error);
if (request_id != NO_RESPONSE) {
// send the response
msgpack_packer response;