Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_engine_evas_fb.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_fb/ewl_engine_evas_fb.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ewl_engine_evas_fb.c        5 Sep 2007 22:33:12 -0000       1.19
+++ ewl_engine_evas_fb.c        12 Nov 2007 22:42:20 -0000      1.20
@@ -65,7 +65,7 @@
        Ewl_Engine_Info *info;
 
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR_RET("engine", engine, TRUE);
+       DCHECK_PARAM_PTR_RET(engine, TRUE);
 
        if (ee_key_down_handler)
                DRETURN_INT(TRUE, DLEVEL_STABLE);
@@ -110,7 +110,7 @@
 ee_shutdown(Ewl_Engine *engine)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR("engine", engine);
+       DCHECK_PARAM_PTR(engine);
 
        if (ee_key_down_handler)
                ecore_event_handler_del(ee_key_down_handler);
@@ -148,8 +148,8 @@
        Ewl_Object *o;
 
        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);
 
        evas = evas_new();
        evas_output_method_set(evas, evas_render_method_lookup("fb"));



-------------------------------------------------------------------------
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