Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/etox

Dir     : e17/libs/etox/src


Modified Files:
        Etox_private.h 


Log Message:
Fix headers.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/Etox_private.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- Etox_private.h      22 May 2004 23:43:02 -0000      1.27
+++ Etox_private.h      5 Sep 2005 11:21:59 -0000       1.28
@@ -6,6 +6,32 @@
 #include <Edb.h>
 #include "style/Etox_Style.h"
 
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <limits.h>
+
+#define IF_FREE(ptr) if (ptr) free(ptr); ptr = NULL;
+#define FREE(ptr) free(ptr); ptr = NULL;
+
+#define CHECK_PARAM_POINTER_RETURN(sparam, param, ret) \
+     if (!(param)) \
+        { \
+           fprintf(stderr, "Fix: func: %s, param: %s\n", __FUNCTION__, 
sparam); \
+           return ret; \
+        }
+
+#define CHECK_PARAM_POINTER(sparam, param) \
+     if (!(param)) \
+        { \
+           fprintf(stderr, "Fix: func: %s, param: %s\n", __FUNCTION__, 
sparam); \
+           return; \
+        }
+
+
+#define TRUE 1
+#define FALSE 0
+
 typedef enum _etox_flags Etox_Flags;
 enum _etox_flags
 {




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to