Enlightenment CVS committal
Author : barbieri
Project : e17
Module : proto
Dir : e17/proto/python-efl/python-evas/evas
Modified Files:
evas.c_evas.pxd evas.c_evas_canvas.pxi evas.c_evas_object.pxi
evas.c_evas_rect.pxi
Log Message:
Export some useful classes as public and define pretty C names, make it
extensible by other C extensions (non-pyrex).
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-evas/evas/evas.c_evas.pxd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas.c_evas.pxd 3 May 2007 14:29:22 -0000 1.1
+++ evas.c_evas.pxd 5 May 2007 02:20:31 -0000 1.2
@@ -405,7 +405,7 @@
-cdef class Rect:
+cdef public class Rect [object PyEvasRect, type PyEvasRect_Type]:
cdef int x0, y0, x1, y1, cx, cy, _w, _h
@@ -477,13 +477,13 @@
cdef void _set_obj(self, void *ptr)
-cdef class Canvas:
+cdef public class Canvas [object PyEvasCanvas, type PyEvasCanvas_Type]:
cdef Evas *obj
cdef int _set_obj(self, Evas *obj) except 0
-cdef class Object:
+cdef public class Object [object PyEvasObject, type PyEvasObject_Type]:
cdef Evas_Object *obj
cdef Canvas _evas
cdef object _data
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-evas/evas/evas.c_evas_canvas.pxi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas.c_evas_canvas.pxi 3 May 2007 14:29:22 -0000 1.1
+++ evas.c_evas_canvas.pxi 5 May 2007 02:20:31 -0000 1.2
@@ -1,6 +1,6 @@
# This file is included verbatim by c_evas.pyx
-cdef class Canvas:
+cdef public class Canvas [object PyEvasCanvas, type PyEvasCanvas_Type]:
def __new__(self):
self.obj = NULL
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-evas/evas/evas.c_evas_object.pxi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas.c_evas_object.pxi 3 May 2007 14:29:22 -0000 1.1
+++ evas.c_evas_object.pxi 5 May 2007 02:20:31 -0000 1.2
@@ -8,7 +8,7 @@
python.Py_DECREF(self)
-cdef class Object:
+cdef public class Object [object PyEvasObject, type PyEvasObject_Type]:
def __new__(self, Canvas evas):
self.obj = NULL
self._evas = evas
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-evas/evas/evas.c_evas_rect.pxi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas.c_evas_rect.pxi 3 May 2007 14:29:22 -0000 1.1
+++ evas.c_evas_rect.pxi 5 May 2007 02:20:31 -0000 1.2
@@ -1,6 +1,6 @@
# This file is included verbatim by c_evas.pyx
-cdef class Rect:
+cdef public class Rect [object PyEvasRect, type PyEvasRect_Type]:
"""Type to store and manipulate rectangular coordinates.
This class provides the description of a rectangle and means to
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs