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

@@ -114,3 +114,10 @@ typedef struct {
/// Note: If returned FAIL or *numMatches is 0, *matches will NOT be freed by
/// caller.
typedef int (*opt_expand_cb_T)(optexpand_T *args, int *numMatches, char ***matches);
/// Requested option scopes for various functions in option.c
typedef enum {
kOptReqGlobal = 0, ///< Request global option value
kOptReqWin = 1, ///< Request window-local option value
kOptReqBuf = 2, ///< Request buffer-local option value
} OptReqScope;