forked from enlightenment/efl
ecore_con: use only Eina_Magic infrastructure for set and check in Ecore_Con_Url.
Summary: We can not have half our code rely on Ecore magic check and the other half use Eina_Magic or this will lead to inconsistency with Eina_Magic definition. Reviewers: zmike, segfaultxavi, bu5hm4n, raster Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10383
This commit is contained in:
parent
95b5731461
commit
18de24baeb
|
@ -159,7 +159,7 @@ struct _Ecore_Con_Url
|
||||||
#define ECORE_CON_URL_CHECK_RETURN(u, ...) \
|
#define ECORE_CON_URL_CHECK_RETURN(u, ...) \
|
||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
if (!ECORE_MAGIC_CHECK(u, ECORE_MAGIC_CON_URL)) \
|
if (!EINA_MAGIC_CHECK(u, ECORE_MAGIC_CON_URL)) \
|
||||||
{ \
|
{ \
|
||||||
ECORE_MAGIC_FAIL(u, ECORE_MAGIC_CON_URL, __FUNCTION__); \
|
ECORE_MAGIC_FAIL(u, ECORE_MAGIC_CON_URL, __FUNCTION__); \
|
||||||
return __VA_ARGS__; \
|
return __VA_ARGS__; \
|
||||||
|
|
Loading…
Reference in New Issue