mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00: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:

committed by
Thiago de Arruda

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);
|
||||
|
Reference in New Issue
Block a user