summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-12-22 18:19:26 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-22 18:19:26 +0000
commitf973eeb4911de09258e84cb2248dc0f9392824b4 (patch)
tree81ac7737af13f9eff0d6b69306b7ed6691d23804 /src/structs.h
parent1aeccdb464d81f0af047b399cbad160307a91f7c (diff)
downloadvim-git-f973eeb4911de09258e84cb2248dc0f9392824b4.tar.gz
patch 8.2.3871: list.c contains code for dict and blobv8.2.3871
Problem: List.c contains code for dict and blob. Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan, closes #9386)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 9aad4152e..7023ac3d3 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -4492,3 +4492,11 @@ typedef struct {
int sve_did_save;
hashtab_T sve_hashtab;
} save_v_event_T;
+
+// Enum used by filter(), map() and mapnew()
+typedef enum {
+ FILTERMAP_FILTER,
+ FILTERMAP_MAP,
+ FILTERMAP_MAPNEW
+} filtermap_T;
+