refactor(IWYU): move UI and LineFlags to ui_defs.h (#26318)

This commit is contained in:
zeertzjq
2023-11-30 17:16:57 +08:00
committed by GitHub
parent 543e0256c1
commit ce56e0a845
14 changed files with 134 additions and 140 deletions

View File

@@ -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[];