mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
refactor(IWYU): move UI and LineFlags to ui_defs.h (#26318)
This commit is contained in:
@@ -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[];
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user