forked from enlightenment/efl
More parentheses so the macro works inside if()
SVN revision: 45992
This commit is contained in:
parent
b9ef31f902
commit
752a730b38
|
@ -43,7 +43,7 @@ struct _Eina_Strbuf
|
||||||
static void _eina_strbuf_init(Eina_Strbuf *buf);
|
static void _eina_strbuf_init(Eina_Strbuf *buf);
|
||||||
static Eina_Bool _eina_strbuf_resize(Eina_Strbuf *buf, size_t size);
|
static Eina_Bool _eina_strbuf_resize(Eina_Strbuf *buf, size_t size);
|
||||||
#define _eina_strbuf_grow(_buf, _size) \
|
#define _eina_strbuf_grow(_buf, _size) \
|
||||||
(((_size) + 1) > (_buf)->size) ? _eina_strbuf_resize((_buf), (_size)) : EINA_TRUE
|
((((_size) + 1) > (_buf)->size) ? _eina_strbuf_resize((_buf), (_size)) : EINA_TRUE)
|
||||||
|
|
||||||
Eina_Bool
|
Eina_Bool
|
||||||
eina_strbuf_init(void)
|
eina_strbuf_init(void)
|
||||||
|
|
Loading…
Reference in New Issue