Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/canvas


Modified Files:
        evas_smart.c 


Log Message:


add version to smart classes.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_smart.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evas_smart.c        6 Jan 2006 23:05:17 -0000       1.12
+++ evas_smart.c        2 Dec 2006 03:20:56 -0000       1.13
@@ -90,6 +90,9 @@
 
    if (!sc) return NULL;
 
+   /* api does not match abi! for now refuse as we only have 1 version */
+   if (sc->version != EVAS_SMART_CLASS_VERSION) return NULL;
+   
    s = evas_mem_calloc(sizeof(Evas_Smart));
    if (!s) return NULL;
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to