summaryrefslogtreecommitdiff
path: root/include/efl.evas.pxd
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-03-12 18:22:46 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2015-03-12 18:22:46 +0200
commit6fa1b78256fee7fdb237bb20b9788e63d4e1d895 (patch)
tree3c0cceef2dc5b684ac597d863c2472a999b7e98c /include/efl.evas.pxd
parent270ac10e0909b63f8aa8a935b3876a43fabf212e (diff)
Evas.SmartObject: Keep reference to Smart in the SO object
Smart gets freed automatically when no SO or user has references to it.
Diffstat (limited to '')
-rw-r--r--include/efl.evas.pxd3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efl.evas.pxd b/include/efl.evas.pxd
index f9326b8..1ca573f 100644
--- a/include/efl.evas.pxd
+++ b/include/efl.evas.pxd
@@ -1209,9 +1209,12 @@ cdef class Textblock(Object):
1209# cdef extern from *: 1209# cdef extern from *:
1210# ctypedef object(*Smart_Conv_Func)(void *) 1210# ctypedef object(*Smart_Conv_Func)(void *)
1211 1211
1212cdef class Smart:
1213 cdef Evas_Smart *cls
1212 1214
1213cdef class SmartObject(Object): 1215cdef class SmartObject(Object):
1214 cdef: 1216 cdef:
1217 public Smart smart
1215 dict _smart_callback_specs 1218 dict _smart_callback_specs
1216 int _set_obj(self, cEo *obj) except 0 1219 int _set_obj(self, cEo *obj) except 0
1217 int _callback_add_full(self, event, object(*)(void*), func, tuple args, dict kargs) except 0 1220 int _callback_add_full(self, event, object(*)(void*), func, tuple args, dict kargs) except 0