1
0
forked from aniani/vim

updated for version 7.3.1177

Problem:    Wasting memory on padding.
Solution:   Reorder struct fields. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2013-06-12 19:52:15 +02:00
parent edb07a2d88
commit 6395af8018
3 changed files with 10 additions and 8 deletions

View File

@@ -7614,16 +7614,16 @@ typedef struct AutoCmd
typedef struct AutoPat
{
int group; /* group ID */
char_u *pat; /* pattern as typed (NULL when pattern
has been removed) */
int patlen; /* strlen() of pat */
regprog_T *reg_prog; /* compiled regprog for pattern */
char allow_dirs; /* Pattern may match whole path */
char last; /* last pattern for apply_autocmds() */
AutoCmd *cmds; /* list of commands to do */
struct AutoPat *next; /* next AutoPat in AutoPat list */
int group; /* group ID */
int patlen; /* strlen() of pat */
int buflocal_nr; /* !=0 for buffer-local AutoPat */
char allow_dirs; /* Pattern may match whole path */
char last; /* last pattern for apply_autocmds() */
} AutoPat;
static struct event_name