Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_engine_evas_buffer.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_buffer/ewl_engine_evas_buffer.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- ewl_engine_evas_buffer.c    5 Sep 2007 18:33:25 -0000       1.15
+++ ewl_engine_evas_buffer.c    12 Nov 2007 22:42:20 -0000      1.16
@@ -57,7 +57,7 @@
        Ewl_Engine_Info *info;
 
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR_RET("engine", engine, TRUE);
+       DCHECK_PARAM_PTR_RET(engine, TRUE);
 
        info = NEW(Ewl_Engine_Info, 1);
        info->shutdown = ee_shutdown;
@@ -72,7 +72,7 @@
 ee_shutdown(Ewl_Engine *engine)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR("engine", engine);
+       DCHECK_PARAM_PTR(engine);
 
        IF_FREE(engine->functions);
 
@@ -88,8 +88,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("buffer"));
@@ -134,8 +134,8 @@
        Ewl_Object *o;
 
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR("emb", emb);
-       DCHECK_TYPE("emb", emb, EWL_EMBED_TYPE);
+       DCHECK_PARAM_PTR(emb);
+       DCHECK_TYPE(emb, EWL_EMBED_TYPE);
 
        evas = emb->canvas;
 
@@ -167,7 +167,7 @@
 ee_canvas_render(Ewl_Embed *embed)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR("embed", embed);
+       DCHECK_PARAM_PTR(embed);
 
        if (embed->canvas) {
                Evas_List *updates;



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