summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-10-01 20:54:15 +0000
committerBram Moolenaar <Bram@vim.org>2007-10-01 20:54:15 +0000
commitfecb6605787c62acbc0451e3f141357659458145 (patch)
tree6af768cdf48f838a04ba1a4f802231eed0dea17b /src/structs.h
parent41a090352395e1ba3c5296159f838fdbf0eed429 (diff)
downloadvim-fecb6605787c62acbc0451e3f141357659458145.zip
updated for version 7.1-130
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 880f0b023..0a56d02e1 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -278,6 +278,9 @@ struct u_entry
linenr_T ue_lcount; /* linecount when u_save called */
char_u **ue_array; /* array of lines in undo block */
long ue_size; /* number of lines in ue_array */
+#ifdef U_DEBUG
+ int ue_magic; /* magic number to check allocation */
+#endif
};
struct u_header
@@ -300,6 +303,9 @@ struct u_header
visualinfo_T uh_visual; /* Visual areas before undo/after redo */
#endif
time_t uh_time; /* timestamp when the change was made */
+#ifdef U_DEBUG
+ int uh_magic; /* magic number to check allocation */
+#endif
};
/* values for uh_flags */