And add () for increased safety

SVN revision: 45968
This commit is contained in:
Sebastian Dransfeld 2010-02-07 19:30:01 +00:00
parent 95d903dab7
commit 216aabeaa0
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ struct _Eina_Strbuf
static void _eina_strbuf_init(Eina_Strbuf *buf);
static Eina_Bool _eina_strbuf_resize(Eina_Strbuf *buf, size_t size);
#define _eina_strbuf_grow(buf, _size) \
(_size > buf->size) ? _eina_strbuf_resize(buf, _size) : EINA_TRUE
#define _eina_strbuf_grow(_buf, _size) \
((_size) > (_buf)->size) ? _eina_strbuf_resize((_buf), (_size)) : EINA_TRUE
Eina_Bool
eina_strbuf_init(void)