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

@@ -33,8 +33,8 @@ typedef enum {
/// Used as the message ID of notifications.
#define NO_RESPONSE UINT64_MAX
/// Used as channel_id when the call is local
#define INVALID_CHANNEL UINT64_MAX
/// Used as channel_id when the call is local.
#define INTERNAL_CALL UINT64_MAX
typedef struct {
ErrorType type;

View File

@@ -4,7 +4,6 @@
#include "nvim/api/private/defs.h"
typedef Object (*ApiDispatchWrapper)(uint64_t channel_id,
uint64_t request_id,
Array args,
Error *error);