Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_smart.c Log Message: move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will probably die as it's already got legacy funcion methods for layer etc. stuff. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_smart.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- evas_smart.c 8 Dec 2006 07:51:48 -0000 1.14 +++ evas_smart.c 4 Aug 2007 13:12:43 -0000 1.15 @@ -59,6 +59,9 @@ { Evas_Smart *s; + printf("----- WARNING. evas_smart_new() will be deprecated and removed soon\n", + "----- Please use evas_smart_class_new() instead\n"); + if (!name) return NULL; s = evas_mem_calloc(sizeof(Evas_Smart)); @@ -117,7 +120,7 @@ * @return an Evas_Smart */ EAPI Evas_Smart * -evas_smart_class_new(Evas_Smart_Class *sc) +evas_smart_class_new(const Evas_Smart_Class *sc) { Evas_Smart *s; @@ -142,7 +145,7 @@ * @param s the Evas_Smart * @return the Evas_Smart_Class */ -EAPI Evas_Smart_Class * +EAPI const Evas_Smart_Class * evas_smart_class_get(Evas_Smart *s) { MAGIC_CHECK(s, Evas_Smart, MAGIC_SMART); ------------------------------------------------------------------------- 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