Enlightenment CVS committal

Author  : ulisses
Project : e17
Module  : proto/python-efl

Dir     : e17/proto/python-efl/python-emotion/emotion


Modified Files:
        emotion.c_emotion.pyx 
Removed Files:
        emotion.c_emotion.pxd 


Log Message:
Organized and changed code to use Cython instead of Pyrex.

 - moved headers (.pxd) to include directory
 - changed README and setup.py to use Cython
 - fixed namespace and typo issues

===================================================================
RCS file: 
/cvs/e/e17/proto/python-efl/python-emotion/emotion/emotion.c_emotion.pyx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- emotion.c_emotion.pyx       2 Sep 2007 15:11:54 -0000       1.6
+++ emotion.c_emotion.pyx       30 Sep 2007 22:43:10 -0000      1.7
@@ -1,3 +1,4 @@
+cimport evas.c_evas as c_evas
 import evas.c_evas
 
 cdef void _emotion_callback(void *data, evas.c_evas.Evas_Object *o, void *ei):
@@ -22,10 +23,10 @@
     def __new__(self, *a, **ka):
         self._emotion_callbacks = {}
 
-    def __init__(self, evas.c_evas.Canvas canvas not None, **kargs):
+    def __init__(self, c_evas.Canvas canvas not None, **kargs):
         evas.c_evas.Object.__init__(self, canvas)
         if self.obj == NULL:
-            self._set_obj(emotion_object_add(self._evas.obj))
+            self._set_obj(emotion_object_add(self.evas.obj))
         self._set_common_params(**kargs)
 
     def _set_common_params(self,



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to