Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/engines/evas_software_sdl Modified Files: ewl_engine_evas_software_sdl.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_sdl/ewl_engine_evas_software_sdl.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_engine_evas_software_sdl.c 17 Oct 2007 14:51:33 -0000 1.2 +++ ewl_engine_evas_software_sdl.c 12 Nov 2007 22:42:21 -0000 1.3 @@ -82,7 +82,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); @@ -127,7 +127,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); @@ -166,8 +166,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("software_sdl")); ------------------------------------------------------------------------- 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