mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 14:26:07 +00:00
api: call multiple methods atomically (useful in async contexts)
remove unused response_id parameter of handle_nvim_... helpers
This commit is contained in:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user