refactor: move Arena and ArenaMem to memory_defs.h (#26240)

This commit is contained in:
zeertzjq
2023-11-27 17:21:58 +08:00
committed by GitHub
parent 84bbe4b0ca
commit 574d25642f
109 changed files with 274 additions and 309 deletions

View File

@@ -1,16 +1,16 @@
#pragma once
#include <stdbool.h>
#include <uv.h>
#include <stdint.h> // IWYU pragma: keep
#include "nvim/api/private/defs.h"
#include "nvim/api/private/defs.h" // IWYU pragma: keep
#include "nvim/channel.h"
#include "nvim/event/multiqueue.h"
#include "nvim/event/process.h"
#include "nvim/event/socket.h"
#include "nvim/event/wstream.h"
#include "nvim/macros.h"
#include "nvim/memory_defs.h" // IWYU pragma: keep
#include "nvim/msgpack_rpc/channel_defs.h" // IWYU pragma: export
#include "nvim/vim.h"
#define METHOD_MAXLEN 512

View File

@@ -4,10 +4,12 @@
#include <stdbool.h>
#include <uv.h>
#include "klib/kvec.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/dispatch.h"
#include "nvim/event/process.h"
#include "nvim/event/socket.h"
#include "nvim/map.h"
#include "nvim/vim.h"
typedef struct Channel Channel;

View File

@@ -1,6 +1,6 @@
#pragma once
#include <stdio.h>
#include <stddef.h> // IWYU pragma: keep
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "msgpack_rpc/server.h.generated.h"

View File

@@ -10,7 +10,7 @@
#include "nvim/api/private/dispatch.h"
#include "nvim/api/private/helpers.h"
#include "nvim/grid_defs.h"
#include "nvim/memory.h"
#include "nvim/memory_defs.h"
#include "nvim/msgpack_rpc/channel_defs.h"
#include "nvim/types.h"
#include "nvim/ui_client.h"