Fixed ev_vec_push not supporting anonymous variables
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
2
ev_vec.h
2
ev_vec.h
@@ -158,7 +158,7 @@ ev_vec_init_impl(
|
|||||||
.data = __EV_VEC_EMPTY_ARRAY \
|
.data = __EV_VEC_EMPTY_ARRAY \
|
||||||
}).data
|
}).data
|
||||||
|
|
||||||
#define ev_vec_push(v, x) ev_vec_push_impl((ev_vec_t*)&v,&x);
|
#define ev_vec_push(v, ...) ev_vec_push_impl((ev_vec_t*)&v,&__VA_ARGS__);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \param v The vector that we want an iterator for
|
* \param v The vector that we want an iterator for
|
||||||
|
|||||||
Reference in New Issue
Block a user