summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2012-06-17 04:04:43 +0000
committerKai Huuhko <kai.huuhko@gmail.com>2012-06-17 04:04:43 +0000
commitc2d19036f41300633f97606377b82d1ef96f7aa6 (patch)
tree8a5bdddfe595c4c8fa2f2cd1921833094cdddd46
parent4ab9a73e4c0a1e3194dee5bb6905be140be452a0 (diff)
python-elementary: Optimization.
- Use Object_from_instance as a C function. - Use Canvas_from_instance as a C function. - Consolidated cb conversion functions with same functionality into cb_string_conv and cb_object_item_conv. - Removed bulk imports from evas, import the needed thing individually instead, so now we have the type Evas_Object instead of c_evas.Evas_Object, and evasObject instead of c_evas.Object, etc. - Other things which I've forgotten? Test, consume, enjoy! SVN revision: 72263
-rw-r--r--include/evas/c_evas.pxd4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/evas/c_evas.pxd b/include/evas/c_evas.pxd
index dd790e8..635007b 100644
--- a/include/evas/c_evas.pxd
+++ b/include/evas/c_evas.pxd
@@ -1122,3 +1122,7 @@ cdef public class Textblock(Object) [object PyEvasTextblock, type PyEvasTextbloc
1122cdef public class ClippedSmartObject(SmartObject) \ 1122cdef public class ClippedSmartObject(SmartObject) \
1123 [object PyEvasClippedSmartObject, type PyEvasClippedSmartObject_Type]: 1123 [object PyEvasClippedSmartObject, type PyEvasClippedSmartObject_Type]:
1124 cdef readonly Rectangle clipper 1124 cdef readonly Rectangle clipper
1125
1126
1127cdef Canvas Canvas_from_instance(Evas *evas)
1128cdef Object Object_from_instance(Evas_Object *obj)