Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/engines/evas_software_x11


Modified Files:
        ewl_engine_evas_software_x11.c 


Log Message:
- remove the first argument of the parameter and type check macros, althoug
  they had a different intention they were only used as the parameter name
- don't fail on type checks if the pointer is NULL

===================================================================
RCS file: 
/cvs/e/e17/libs/ewl/src/engines/evas_software_x11/ewl_engine_evas_software_x11.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_engine_evas_software_x11.c      5 Sep 2007 18:33:25 -0000       1.14
+++ ewl_engine_evas_software_x11.c      12 Nov 2007 22:42:21 -0000      1.15
@@ -54,7 +54,7 @@
        Ewl_Engine_Info *info;
 
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR_RET("engine", engine, FALSE);
+       DCHECK_PARAM_PTR_RET(engine, FALSE);
 
        info = NEW(Ewl_Engine_Info, 1);
        info->shutdown = ee_shutdown;
@@ -69,7 +69,7 @@
 ee_shutdown(Ewl_Engine *engine)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR("engine", engine);
+       DCHECK_PARAM_PTR(engine);
 
        IF_FREE(engine->functions);
 
@@ -85,8 +85,8 @@
        Evas_Engine_Info_Software_X11 *sinfo;
 
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR("win", win);
-       DCHECK_TYPE("win", win, EWL_WINDOW_TYPE);
+       DCHECK_PARAM_PTR(win);
+       DCHECK_TYPE(win, EWL_WINDOW_TYPE);
 
        o = EWL_OBJECT(win);
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to