diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-11-30 17:16:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 17:16:57 +0800 |
| commit | ce56e0a845d68862118f44cb66c5f080e3c1bbed (patch) | |
| tree | 3f3b593cb8574a99546b9c8324e840c4aa0451b7 /src/nvim/api | |
| parent | 543e0256c19f397921a332e06b423215fd9aecb5 (diff) | |
| download | rneovim-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')
| -rw-r--r-- | src/nvim/api/private/dispatch.h | 12 | ||||
| -rw-r--r-- | src/nvim/api/ui.h | 3 |
2 files changed, 7 insertions, 8 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[]; diff --git a/src/nvim/api/ui.h b/src/nvim/api/ui.h index 26a91d0dbc..b1f4ff97d9 100644 --- a/src/nvim/api/ui.h +++ b/src/nvim/api/ui.h @@ -4,9 +4,8 @@ #include "nvim/api/private/defs.h" // IWYU pragma: keep #include "nvim/highlight_defs.h" // IWYU pragma: keep -#include "nvim/map_defs.h" #include "nvim/types_defs.h" // IWYU pragma: keep -#include "nvim/ui.h" +#include "nvim/ui_defs.h" // IWYU pragma: keep #ifdef INCLUDE_GENERATED_DECLARATIONS # include "api/ui.h.generated.h" |