aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/garray.h
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-05-07 18:10:57 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-17 07:02:44 -0300
commit659cd0e99a0993497279ef8538956eec9f2fc374 (patch)
tree0e46a5dbc14a68baddaad45cf20fbd454829b05f /src/nvim/garray.h
parent5f795225dcf735096c54057a3b5eb08484c02c8b (diff)
downloadrneovim-659cd0e99a0993497279ef8538956eec9f2fc374.tar.gz
rneovim-659cd0e99a0993497279ef8538956eec9f2fc374.tar.bz2
rneovim-659cd0e99a0993497279ef8538956eec9f2fc374.zip
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.
Diffstat (limited to 'src/nvim/garray.h')
-rw-r--r--src/nvim/garray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/garray.h b/src/nvim/garray.h
index 4ffd5879fe..be858dffb0 100644
--- a/src/nvim/garray.h
+++ b/src/nvim/garray.h
@@ -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);