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

@@ -7133,7 +7133,7 @@ static void api_wrapper(typval_T *argvars, typval_T *rettv, FunPtr fptr)
}
Error err = ERROR_INIT;
Object result = fn(INVALID_CHANNEL, NO_RESPONSE, args, &err);
Object result = fn(INTERNAL_CALL, args, &err);
if (err.set) {
nvim_err_writeln(cstr_as_string(err.msg));