Enlightenment CVS committal

Author  : xcomputerman
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        Ecore.h 


Log Message:
Throw in a couple macros

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Ecore.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- Ecore.h     24 Feb 2004 19:45:01 -0000      1.5
+++ Ecore.h     29 Feb 2004 05:08:26 -0000      1.6
@@ -10,7 +10,11 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
-   
+
+/* Convenience macros */
+#define ECORE_MIN(x, y)          (((x) > (y)) ? (y) : (x))
+#define ECORE_MAX(x, y)          (((x) > (y)) ? (x) : (y))
+
 #define ECORE_EVENT_NONE         0
 #define ECORE_EVENT_EXE_EXIT     1 /**< Spawned Exe has exit event */
 #define ECORE_EVENT_SIGNAL_USER  2 /**< User signal event */




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to