mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
s/GA_EMPTY/GA_EMPTY_INIT_VALUE/
I'm about to implement a `GA_EMPTY` macro that checks if the GA is empty or not.
This commit is contained in:
parent
5f795225dc
commit
659cd0e99a
@ -14,7 +14,7 @@ typedef struct growarray {
|
||||
void *ga_data; // pointer to the first item
|
||||
} garray_T;
|
||||
|
||||
#define GA_EMPTY { 0, 0, 0, 0, NULL }
|
||||
#define GA_EMPTY_INIT_VALUE { 0, 0, 0, 0, NULL }
|
||||
|
||||
void ga_clear(garray_T *gap);
|
||||
void ga_clear_strings(garray_T *gap);
|
||||
|
@ -2019,7 +2019,7 @@ findtag_end:
|
||||
return retval;
|
||||
}
|
||||
|
||||
static garray_T tag_fnames = GA_EMPTY;
|
||||
static garray_T tag_fnames = GA_EMPTY_INIT_VALUE;
|
||||
static void found_tagfile_cb(char_u *fname, void *cookie);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user