Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/engines/evas_gl_x11
Modified Files:
ewl_engine_evas_gl_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_gl_x11/ewl_engine_evas_gl_x11.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_engine_evas_gl_x11.c 5 Sep 2007 22:33:12 -0000 1.14
+++ ewl_engine_evas_gl_x11.c 12 Nov 2007 22:42:21 -0000 1.15
@@ -55,7 +55,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;
@@ -70,7 +70,7 @@
ee_shutdown(Ewl_Engine *engine)
{
DENTER_FUNCTION(DLEVEL_STABLE);
- DCHECK_PARAM_PTR("engine", engine);
+ DCHECK_PARAM_PTR(engine);
IF_FREE(engine->functions);
@@ -86,8 +86,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("gl_x11"));
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs