Enlightenment CVS committal
Author : handyande
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_object.h
Log Message:
Missing casts
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_object.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_object.h 25 Nov 2004 05:31:20 -0000 1.2
+++ e_object.h 3 Jan 2005 20:35:16 -0000 1.3
@@ -32,8 +32,8 @@
# define E_OBJECT_CHECK_RETURN(x, ret) {if (e_object_error(E_OBJECT(x)))
return ret;}
#else
# ifdef OBJECT_CHECK
-# define E_OBJECT_CHECK(x) {if ((!x) || (x->magic !=
E_OBJECT_MAGIC)) return;}
-# define E_OBJECT_CHECK_RETURN(x, ret) {if ((!x) || (x->magic !=
E_OBJECT_MAGIC)) return ret;}
+# define E_OBJECT_CHECK(x) {if ((!E_OBJECT(x)) ||
(E_OBJECT(x)->magic != E_OBJECT_MAGIC)) return;}
+# define E_OBJECT_CHECK_RETURN(x, ret) {if ((!E_OBJECT(x)) ||
(E_OBJECT(x)->magic != E_OBJECT_MAGIC)) return ret;}
# else
# define E_OBJECT_CHECK(x)
# define E_OBJECT_CHECK_RETURN(x, ret)
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs