aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/dispatch.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-30 17:16:57 +0800
committerGitHub <noreply@github.com>2023-11-30 17:16:57 +0800
commitce56e0a845d68862118f44cb66c5f080e3c1bbed (patch)
tree3f3b593cb8574a99546b9c8324e840c4aa0451b7 /src/nvim/api/private/dispatch.h
parent543e0256c19f397921a332e06b423215fd9aecb5 (diff)
downloadrneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.tar.gz
rneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.tar.bz2
rneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.zip
refactor(IWYU): move UI and LineFlags to ui_defs.h (#26318)
Diffstat (limited to 'src/nvim/api/private/dispatch.h')
-rw-r--r--src/nvim/api/private/dispatch.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/api/private/dispatch.h b/src/nvim/api/private/dispatch.h
index 6a2c9eaf54..88f846f813 100644
--- a/src/nvim/api/private/dispatch.h
+++ b/src/nvim/api/private/dispatch.h
@@ -14,12 +14,12 @@ typedef Object (*ApiDispatchWrapper)(uint64_t channel_id, Array args, Arena *are
struct MsgpackRpcRequestHandler {
const char *name;
ApiDispatchWrapper fn;
- bool fast; // Function is safe to be executed immediately while running the
- // uv loop (the loop is run very frequently due to breakcheck).
- // If "fast" is false, the function is deferred, i e the call will
- // be put in the event queue, for safe handling later.
- bool arena_return; // return value is allocated in the arena (or statically)
- // and should not be freed as such.
+ bool fast; ///< Function is safe to be executed immediately while running the
+ ///< uv loop (the loop is run very frequently due to breakcheck).
+ ///< If "fast" is false, the function is deferred, i e the call will
+ ///< be put in the event queue, for safe handling later.
+ bool arena_return; ///< return value is allocated in the arena (or statically)
+ ///< and should not be freed as such.
};
extern const MsgpackRpcRequestHandler method_handlers[];