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

@@ -4,10 +4,12 @@
#include "nvim/memfile_defs.h" // IWYU pragma: export
/// flags for mf_sync()
#define MFS_ALL 1 /// also sync blocks with negative numbers
#define MFS_STOP 2 /// stop syncing when a character is available
#define MFS_FLUSH 4 /// flushed file to disk
#define MFS_ZERO 8 /// only write block 0
enum {
MFS_ALL = 1, ///< also sync blocks with negative numbers
MFS_STOP = 2, ///< stop syncing when a character is available
MFS_FLUSH = 4, ///< flushed file to disk
MFS_ZERO = 8, ///< only write block 0
};
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "memfile.h.generated.h"