Evas magic: Added compiler hints (EINA_UNLIKELY).

SVN revision: 76194
This commit is contained in:
Tom Hacohen 2012-09-05 13:02:33 +00:00
parent ea858b74cf
commit 57269364d9
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ OPAQUE_TYPE(Evas_Font_Instance); /* General type for RGBA_Font_Int */
else evas_debug_magic_wrong((m), ((t *)o)->magic); \
}
# define MAGIC_CHECK(o, t, m) \
{if ((!o) || (!(((t *)o)->magic == (m)))) { \
{if (EINA_UNLIKELY((!o) || (!(((t *)o)->magic == (m))))) { \
MAGIC_CHECK_FAILED(o, t, m)
# define MAGIC_CHECK_END() }}
#else